one-line if doesn't need end
This commit is contained in:
parent
b61fe936e3
commit
803062ef43
@ -242,7 +242,7 @@ function updategame()
|
||||
if leveldone and not eships.next and not ebullets.next and not events.next then
|
||||
state = win
|
||||
end
|
||||
if (not pships.next) state = lose end
|
||||
if (not pships.next) state = lose
|
||||
end
|
||||
|
||||
function _draw()
|
||||
|
Loading…
Reference in New Issue
Block a user