Asphalt Roads Patched


Asphalt pavement for increased vehicle speed. Also includes tiles for lane marking (single and double lines) and various hazard areas. Original mod by Arcitos patched for 2.0.

Content
21 hours ago
2.0
2.56K
Transportation

b [Probably Solved] Failed to load (shift_tile_layer)

a month ago

This mod worked but after update it does not load

full log https://pastebin.com/EiVTp540

4.977 Loading mod AsphaltRoadsPatched 1.4.3 (data-updates.lua)
4.979 Error ModManager.cpp:1738: Failed to load mod "AsphaltRoadsPatched": AsphaltRoadsPatched/util/tile-layer-correction.lua:6: attempt to compare number with nil
stack traceback:
AsphaltRoadsPatched/util/tile-layer-correction.lua:6: in function 'shift_tile_layer'
AsphaltRoadsPatched/data-updates.lua:31: in main chunk
5.013 Loading mod core 0.0.0 (data.lua)
5.136 Checksum for core: 4216606301
5.162 Error ModManager.cpp:1738: Error in assignID: procession with name 'default-b' does not exist.

a month ago

Looks like the recent Alien Biomes update changed something which made shift_tile_layer() get passed a nil value. I added a nil check that should stop this from occurring. Please let me know if you still encounter this crash with the update I've just uploaded.

(Honestly, I should look into if the tile layer correction code is even necessary in 2.0.)

New response