Railway Painter

by Karakaz

Automatically color stations and trains containing specified keywords

Content
6 years ago
0.15 - 0.16
7
Trains

b Error with Color Picker

6 years ago
(updated 6 years ago)

I modified The Color Picker mod to make it work with the 0.16 version (link: https://mega.nz/#!H8MC3JgS!VISocsH5Wq0zb9nGwqw_7A8q5qqkyUX5nhYVLzhMH_A). When trying to make a new rule, the game crash with the message "LuaTable is reporting it's a LuaObject but isn't". Do you have any idea on how to solve this ?

6 years ago

The complete error report is this: Error while running event railway-painter::on_gui_click (ID 1)
LuaTable is reporting it's a LuaObject but isn't.
stack traceback:
railway-painter/src/player/gui/color/ColorPicker.lua:17: in function 'setHex'
railway-painter/src/player/gui/color/ColorManager.lua:50: in function 'setHex'
...ay-painter__/src/player/gui/settings/GuiRuleSettings.lua:19: in function 'newRule'
railway-painter/src/player/gui/Gui.lua:27: in function 'newRule'
railway-painter/src/event/EventHandler.lua:52: in function <railway-painter/src/event/EventHandler.lua:40>

New response