Bug in mods!

Place to get help with not working mods / modding interface.
Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Bug in mods!

Post by Airat9000 »

:(

my mods in bug

place electric mining drill and other

please help
Attachments
bandicam 2016-07-27 13-18-27-927.jpg
bandicam 2016-07-27 13-18-27-927.jpg (154.42 KiB) Viewed 1116 times
mods.zip
(121.83 KiB) Downloaded 89 times
User avatar
DedlySpyder
Filter Inserter
Filter Inserter
Posts: 254
Joined: Fri Jun 20, 2014 11:42 am
Contact:

Re: Bug in mods!

Post by DedlySpyder »

Something happening on line 12 of control.lua. I had a similar error with surfaces.find_entities_filtered
Helfima
Fast Inserter
Fast Inserter
Posts: 202
Joined: Tue Jun 28, 2016 11:40 am
Contact:

Re: Bug in mods!

Post 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}}
Post Reply

Return to “Modding help”