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
|
if leveldone and not eships.next and not ebullets.next and not events.next then
|
||||||
state = win
|
state = win
|
||||||
end
|
end
|
||||||
if (not pships.next) state = lose end
|
if (not pships.next) state = lose
|
||||||
end
|
end
|
||||||
|
|
||||||
function _draw()
|
function _draw()
|
||||||
|
Loading…
Reference in New Issue
Block a user