diff --git a/parts/scenes/pause.lua b/parts/scenes/pause.lua index b4694f01..298c4629 100644 --- a/parts/scenes/pause.lua +++ b/parts/scenes/pause.lua @@ -17,7 +17,7 @@ local trophyColor-- Current trophy color function scene.enter() page=0 - if SCN.prev:find("setting") then + if type(SCN.prev)=='string' and SCN.prev:find("setting") then TEXT.show(text.needRestart,640,410,50,'fly',.6) end local P1=PLAYERS[1]