Chess: Fix eaten_img not resetting on new game

This commit is contained in:
Wuzzy 2023-07-11 00:10:07 +02:00
parent 0b8a98ae93
commit 84cbf5bf7b

View File

@ -784,6 +784,7 @@ function realchess.init(pos)
meta:set_string("moves_raw", "")
meta:set_string("moves", ","..MOVES_LIST_SYMBOL_EMPTY..",,"..MOVES_LIST_SYMBOL_EMPTY..",")
meta:set_string("eaten", "")
meta:set_string("eaten_img", "")
meta:set_string("mode", "")
inv:set_list("board", pieces)