remove stale correction code
This commit is contained in:
parent
15aef61fd5
commit
bc12efc6be
|
@ -7,8 +7,6 @@ spawn_point = function()
|
|||
result.y = math.random(Viewport.y, Viewport.y+Viewport.h)
|
||||
if _ == 10 or not overlaps_any_definition(result) then
|
||||
result.w, result.h = nil
|
||||
result.x = result.x + 100
|
||||
result.y = result.y + 20
|
||||
return result
|
||||
end
|
||||
table.insert(Spawn_candidates, result)
|
||||
|
|
Loading…
Reference in New Issue