-map changes during game don't affect map itself
This commit is contained in:
2
main.lua
2
main.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user