[0.15.11] Integer setting with no upper bound
Posted: Wed May 17, 2017 7:28 pm
When using the new mods settings ingame, if a mod set an integer entry with a minimum but no maximum like :
And an user set a wrong value, the message in the tooltip say :
Code: Select all
data:extend({
{
type = "int-setting",
name = ""my-wonderful-setting-name,
setting_type = "startup",
minimum_value = 0,
default_value = 100,
order = "a-a"
}
})
Shouldn't the message only state the minimum bound when no upper bound are set ? Displaying -1 as upper bound is misleading IMO.Value out of range: valid values are 0 through -1 inclusive.