mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 04:06:39 +09:00
Fixed Remaing Bugs
This commit is contained in:
@@ -82,7 +82,7 @@ script.on_event({defines.events.on_built_entity,on_robot_built_entity}, function
|
||||
for x = box.left_top.x,box.right_bottom.x do for y = box.left_top.y,box.right_bottom.y do
|
||||
local pos = {x=entity.position.x+x,y=entity.position.y+y}
|
||||
local tile = surface.get_tile(pos).name
|
||||
if paths[tile] and math.random() < paths[tile][1]*size/(-2) then
|
||||
if paths[tile] and math.random() < paths[tile][1]*size*(-2) then
|
||||
ThisModule.down_grade(surface,pos)
|
||||
end
|
||||
end end
|
||||
|
||||
Reference in New Issue
Block a user