fix to_json function
This commit is contained in:
parent
9200371e3a
commit
c00c88974c
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue