DarkShadow44 / resourcehighlighter-dark

3 stars 1 forks source link

subsurface 1.0.5 incompatible with resourcehighlighter-dark_2.5.2 #28

Open angrypidgeon123 opened 6 months ago

angrypidgeon123 commented 6 months ago

https://github.com/NathaU/factorio-subsurface/issues/8


Hacked a solution for myself in subsurface mod (and since subsurface 1.0.3 not incompatible, problem solved :D): https://github.com/NathaU/factorio-subsurface/issues/10


Attacked the problem at this mod, added a nil check in data-final-fixes.lua where it was crashing:

for k, v in pairs(data.raw.resource) do
    if v == nil or v.icon == nil or v.icons == nil then break end

The check probably stops the mod from working too because no more icons are produced, or is it sonaxaton-resource-map-markers_0.3.5 interfering, can't tell

It's also incorrect I see now, I should use goto continue ... ::continue::, will try that now

Nope... that didn't fix it

"Solution", reinstalled the original, and downgraded to subsurface 1.0.3 hacked which doesn't conflict with this one, now it works...