fix title crash
it should never try to spawn a word. resetting wordwait doesn't help, I need to reset the timer!
This commit is contained in:
parent
2aa62b8e2d
commit
0b89989264
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user