one-line if doesn't need end
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user