summaryrefslogtreecommitdiff
path: root/cards100/event_33.jpg
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-21 09:20:13 +0200
committerTor Andersson <tor@ccxvii.net>2025-04-21 09:40:47 +0200
commit9803f79ed8776723dc7ac98108bc66879f921d23 (patch)
tree92795f2ae4e199b0c61e5480cc9d7b44fed42d60 /cards100/event_33.jpg
parentc97ecaf4342a1073fa87ebe74b40de9bcbaed434 (diff)
downloadvijayanagara-9803f79ed8776723dc7ac98108bc66879f921d23.tar.gz
Fix replay view of discard pile.
In the replay mode the view object is not serialized to JSON before viewing, so we cannot rely on the JSON representation dropping any properties with the value "undefined". Don't use (property in object) to check if something is undefined. Initialize game.discard pile in on_setup as well.
Diffstat (limited to 'cards100/event_33.jpg')
0 files changed, 0 insertions, 0 deletions