Page 1 of 1

[0.18.14] define.gui_types lost

Posted: Wed Mar 18, 2020 7:11 pm
by Muppet9010
In the change from 0.18.13 to 0.18.14 the Lua API defines.gui_type has lost its options of value 14 and above (after the kills entry, value 13)
I noticed this as my mod uses defines.gui_type.custom.custom and is now erroring with a nil value exception.

in commit fb6f37c for statistics-gui I can see src/OpenGuiType.hpp has had its sequential entries become a sparse array.

Re: [0.18.14] define.gui_types lost

Posted: Wed Mar 18, 2020 7:24 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.