-map changes during game don't affect map itself

This commit is contained in:
2022-10-23 16:21:20 +02:00
parent e7db2bf49f
commit ec0660a5c6
2 changed files with 20 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ function _update()
abad.hab=abad.hab-10
elseif btnp(KEY_RETURN) then
mode=modes.playing
mapa_do_backup()
elseif btnp(KEY_S) then
mapa_save()
elseif btnp(KEY_C) then
@@ -127,6 +128,7 @@ function _update()
if btnp(KEY_RETURN) then
mode=modes.editing
mapa_restore_backup()
end
end