RailPowerSystem

by Hermios

Connect rails to electric and signals circuits, and use electric trains

Content
3 days ago
0.14 - 1.1
424
Transportation

b Incompatible to Brighter Color Mask - Locomotive

6 years ago
(updated 6 years ago)

A user of my mod Brighter Color Mask - Locomotive reported that an error is thrown when it is used together with yours. Report

My mod is very simple. It just replaces "base" from the image paths of the color masks to my mod ID. It shouldn't be a problem.

On the other hand, I checked your scripts and I suspect that the problem is caused by line 27 of libs/dataLibs.lua. Because my mod is executed first and "base" is replaced, your mod cannot find "base" and hence is replacing all "locomotive" to "hybrid-train".

If this is true, there may be more problems if other mods override the image paths from the base mod.

Could you please review it and fix it? Thanks.

6 years ago

fixed

6 years ago

Are you sure? The same error is shown with v0.1.3 of your mod.

6 years ago

I forgot to test. Now it is fixed and tested. Please redownload and try again (I didn't change the version number)

6 years ago

Yes, it is working now. Thanks.

New response