Skip to content
Browse files

Buildings are garbage collected earlier.

  • Loading branch information...
1 parent 091153d commit 1c467b7dd42715016ac7d8bab866e40cccb417a2 @pda committed Jan 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 asc.rb
View
2 asc.rb
@@ -146,7 +146,7 @@ def building_under_player
class BuildingGenerator < Struct.new(:world)
def destroy_if_necessary
- while world.buildings.any? && world.buildings.first.x < -200
+ while world.buildings.any? && world.buildings.first.x < -100
world.buildings.shift
end
end

0 comments on commit 1c467b7

Please sign in to comment.
Something went wrong with that request. Please try again.