mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Many more Rubocop-inspired code improvements
This commit is contained in:
@@ -43,11 +43,12 @@ end
|
||||
|
||||
loop do
|
||||
retval = mainFunction
|
||||
if retval == 0 # failed
|
||||
case retval
|
||||
when 0 # failed
|
||||
loop do
|
||||
Graphics.update
|
||||
end
|
||||
elsif retval == 1 # ended successfully
|
||||
when 1 # ended successfully
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user