And it returns a zero, even though the defaultValue was set to 50.
In addition, I can literally do this:
And it still returns a zero.
... (edited) ...
After a lot of testing, it turns out that the minValue and maxValue set in the XML are being ignored. It works perfectly fine if you call SetMinMaxValue(0,100) from Lua somewhere. Still, any clue what broke this, or why?