Merge pull request #11854 from Citadel-Station-13/Ghommie-patch-1

Something about configs and integers.
This commit is contained in:
Putnam3145
2020-04-21 13:04:31 -07:00
committed by GitHub
3 changed files with 12 additions and 1 deletions

View File

@@ -599,7 +599,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
var/static/size_max
if(!size_max)
size_max = CONFIG_GET(number/body_size_max)
features["body_size"] = sanitize_integer(features["body_size"], size_min, size_max, RESIZE_DEFAULT_SIZE)
features["body_size"] = sanitize_num_clamp(features["body_size"], size_min, size_max, RESIZE_DEFAULT_SIZE, 0.01)
var/static/list/B_sizes
if(!B_sizes)