Archived
remove print
This commit is contained in:
@@ -81,7 +81,6 @@ class ClientController(ClientControllerInterface):
|
|||||||
if self.player.team != self.game_controller.game.turn:
|
if self.player.team != self.game_controller.game.turn:
|
||||||
return await self.send_error("it is not your turn to play!")
|
return await self.send_error("it is not your turn to play!")
|
||||||
if message.type == "action":
|
if message.type == "action":
|
||||||
print("message.data_type")
|
|
||||||
if message.data_type == "buy":
|
if message.data_type == "buy":
|
||||||
## TODO : pydantic type check for message.data
|
## TODO : pydantic type check for message.data
|
||||||
await self.player.buy_cards(message.data)
|
await self.player.buy_cards(message.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user