This commit is contained in:
@@ -263,7 +263,7 @@ export class TurnService {
|
||||
session?: mongoose.mongo.ClientSession,
|
||||
) {
|
||||
if (
|
||||
target.hand.cards.length >=
|
||||
target.hand.cards.length <=
|
||||
target.fuckUMarkers + target.discardMarkers
|
||||
) {
|
||||
throw new HttpException(
|
||||
@@ -298,7 +298,7 @@ export class TurnService {
|
||||
) {
|
||||
const unlockedCards = target.board.cards.filter((c) => !c.isLocked(game));
|
||||
if (
|
||||
target.hand.cards.length + unlockedCards.length >=
|
||||
target.hand.cards.length + unlockedCards.length <=
|
||||
target.fuckUMarkers + target.discardMarkers
|
||||
) {
|
||||
throw new HttpException(
|
||||
|
||||
Reference in New Issue
Block a user