Don't show a menu on restart
This commit is contained in:
parent
6949abc2fb
commit
2cca0cd857
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user