Kill
release-tag / release-image (push) Successful in 20s

This commit is contained in:
2024-05-11 20:29:05 +02:00
parent 56ead1a635
commit 46bb39aa74
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -175,6 +175,8 @@ class ClientController:
# "update", self.player.team.serialize_guest()
# )
if self.game_controller.game.ended == True:
return await self.send_error("game is already finished!")
if self.player.team != self.game_controller.game.current_turn:
return await self.send_error("it is not your turn to play!")
if message.type == "action":