veden / Rampant

Factorio Mod - Basic AI augmentation using potential fields
GNU General Public License v3.0
57 stars 22 forks source link

Add wall to resistence laser fence error #128

Closed veden closed 1 year ago

veden commented 1 year ago

Rampant 3.1.2 Laser Fence 1.1.5

With the setting "Safety; Increase wall resistance to spitters" enabled these two mods will not load. This error has developed from the latest update to laser fence as both mods where working in the previous version.

"Failed to load mods: Rampant/prototypes/buildings/UpdatesVanilla.lua:41: bad argument #1 of 2 'pairs' (table expected, got nil) stack traceback: [C]: in function 'pairs' Rampant/prototypes/buildings/UpdatesVanilla.lua:41: infunction 'addWallAcidResistance' Rampant/data-final-fixes.lua:117: in main chunk"

reported to the mod author of laser fences. was told this was due to rampant assuming gates had resistances when its optional for the gate prototype.