Page 1 of 1

Bug in mods!

Posted: Wed Jul 27, 2016 10:18 am
by Airat9000
:(

my mods in bug

place electric mining drill and other

please help

Re: Bug in mods!

Posted: Wed Jul 27, 2016 2:48 pm
by DedlySpyder
Something happening on line 12 of control.lua. I had a similar error with surfaces.find_entities_filtered

Re: Bug in mods!

Posted: Wed Jul 27, 2016 3:07 pm
by Helfima
you search in area of 0 size

replace line 12 in heavy-oil_0.9.5\control.lua

Code: Select all

local radius = 1
				local other_ents = entity.surface.find_entities{{entity.position.x - radius, entity.position.y - radius}, {entity.position.x + radius, entity.position.y + radius}}