Don't show a menu on restart

This commit is contained in:
Pyrex 2024-02-11 18:04:51 -08:00
parent 6949abc2fb
commit 2cca0cd857

View File

@ -1,7 +1,10 @@
state_restartmenu=klass() state_restartmenu=klass()
function state_restartmenu:init() function state_restartmenu:init()
end end
function state_restartmenu:enter() end function state_restartmenu:enter()
-- for now, make this only a restart button
self.outcome="restart" self.done=true
end
function state_restartmenu:exit(new_top) function state_restartmenu:exit(new_top)
new_top.outcome=self.outcome new_top.outcome=self.outcome
new_top.done=true new_top.done=true