one-line if doesn't need end

This commit is contained in:
Kistaro Windrider 2023-09-30 02:17:19 -07:00
parent b61fe936e3
commit 803062ef43
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -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()