bugfix: update player in undo X-(
This commit is contained in:
parent
b82b816caf
commit
0d426ca9f5
|
@ -183,6 +183,7 @@ function undo_move()
|
|||
for _,sq in ipairs(undo_state) do
|
||||
level_state[sq.y][sq.x] = sq.cell
|
||||
end
|
||||
player = player_state(level_state)
|
||||
end
|
||||
|
||||
function any_state_in_level(needle)
|
||||
|
|
Loading…
Reference in New Issue