From d86a9866c09a4fe004461a789d80b46803d8901e Mon Sep 17 00:00:00 2001 From: Gareth Latty Date: Tue, 29 Dec 2020 16:56:25 +0000 Subject: [PATCH] Resolve #205: Bug where liking could result in an error if performed too late. --- server/src/ts/action/game-action/like.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/ts/action/game-action/like.ts b/server/src/ts/action/game-action/like.ts index f234a996..94e05bb1 100644 --- a/server/src/ts/action/game-action/like.ts +++ b/server/src/ts/action/game-action/like.ts @@ -29,7 +29,7 @@ class LikeActions extends Actions.Implementation< action ) => { if ( - lobby.game.round.verifyStage< + lobby.game.round.isInStage< Round.Revealing | Round.Judging | Round.Complete >(action, "Revealing", "Judging", "Complete") ) {