From 0b89989264c9e79fda59c70c52593a466af3e24e Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Mon, 19 Feb 2024 11:07:19 -0800 Subject: [PATCH] fix title crash it should never try to spawn a word. resetting wordwait doesn't help, I need to reset the timer! --- vacation.p8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vacation.p8 b/vacation.p8 index 2eb2a1f..8bee2e8 100644 --- a/vacation.p8 +++ b/vacation.p8 @@ -1098,8 +1098,8 @@ function newtitle() end title_screen = {} -mknew(title_screen, function(t) - t.a = arcade_level.new{ +mknew(title_screen, function(self) + self.a = arcade_level.new{ noscore=true, max_score=9999, wordwait=9999, @@ -1137,7 +1137,7 @@ function title_screen:m() end function title_screen:u() - self.a.wordwait=999 + self.a.wordtimer=9999 if btnp(1) and self.a.wordremain ~= 0 and not self.pp then self.a.wordremain=0 self.pp=true