Yaribz / SPADS

SpringRTS Perl Autohost for Dedicated Server
GNU General Public License v3.0
15 stars 13 forks source link

The "step" parameter (quantization) of mod/map options is ignored #14

Closed Yaribz closed 7 years ago

Yaribz commented 7 years ago

SPADS doesn't use the quantization parameter of map/mod options, instead it relies on the minimum and maximum number format: if at least one of the minimum and maximum values contains a ".", then it will allow decimal values. Otherwise it will only allow integers.

This is not correct, instead it should read the "step" value and use it in conjunction with the default and min/max values to deduce the allowed values.