fix to_json function

This commit is contained in:
Maximilian Keßler 2023-11-10 01:17:49 +01:00
parent 9200371e3a
commit c00c88974c
Signed by: max
GPG Key ID: BCC5A619923C0BA5
1 changed files with 2 additions and 2 deletions

View File

@ -324,9 +324,9 @@ class GameState:
)
)
return {
"deck": self.instance.deck,
"deck": [card.to_json() for card in self.instance.deck],
"players": self.instance.player_names,
"actions": self.actions,
"actions": [action.to_json() for action in self.actions],
"first_player": 0,
"options": {
"variant": "No Variant",