Actually break the loop
This commit is contained in:
parent
fbf1eb27ae
commit
d0b8dfa45f
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class Game
|
|||
blocks = @screen.tiles.values.count { |val| val == :block }
|
||||
puts blocks
|
||||
rescue DoneExecuting
|
||||
nil
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue