Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Buildings are garbage collected earlier.

  • Loading branch information...
commit 1c467b7dd42715016ac7d8bab866e40cccb417a2 1 parent 091153d
@pda authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.