[Rseding] [0.17.75] Crash with RollingStock wheels direction_count of 0
Posted: Wed Nov 06, 2019 1:15 pm
If you set RollingStock's wheel's direction_count to 0 the game crashes when you hover the RollingStock over a railway track and the game tries to draw the wheels.
https://wiki.factorio.com/Prototype/RollingStock#wheels
https://wiki.factorio.com/Types/Rotated ... tion_count
data.lua code used to reproduce the issue:
https://wiki.factorio.com/Prototype/RollingStock#wheels
https://wiki.factorio.com/Types/Rotated ... tion_count
data.lua code used to reproduce the issue:
Code: Select all
data.raw["cargo-wagon"]["cargo-wagon"].wheels = {
direction_count = 0,
filename = "__core__/graphics/empty.png",
width = 1,
height = 1
}