- [FIX] Prevent exiting the final scene with ESC
This commit is contained in:
@@ -272,7 +272,7 @@ function update_scene()
|
||||
end
|
||||
end
|
||||
|
||||
if btnp(KEY_ESCAPE) then
|
||||
if btnp(KEY_ESCAPE) and (scenes.current_scene~=scenes.final) then
|
||||
if scenes.current_scene[scenes.dnum].die then
|
||||
game_init(true)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user