Reduce max age from INFINITY to SHORT_REAL_LIMIT

This effectively reduces the cap to 16777216.
This commit is contained in:
Darius
2022-12-08 05:38:47 -05:00
parent 0924175001
commit 7321d42ea5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1748,7 +1748,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("age")
var/new_age = input(user, "Choose your character's age:\n(Minimum: [AGE_MIN])", "Character Preference") as num|null
if(new_age)
age = max(min( round(text2num(new_age)), INFINITY),AGE_MIN)
age = max(min( round(text2num(new_age)), SHORT_REAL_LIMIT),AGE_MIN)
if("security_records")
var/rec = stripped_multiline_input(usr, "Set your security record note section. This should be IC!", "Security Records", html_decode(security_records), MAX_FLAVOR_LEN, TRUE)