Update code/game/objects/structures/crates_lockers/closets/genpop.dm

This commit is contained in:
BongaTheProto
2023-12-04 14:56:36 -05:00
committed by GitHub
parent 2325928610
commit fce4ddfbea
@@ -40,7 +40,7 @@
return TRUE
/obj/structure/closet/secure_closet/genpop/proc/handle_edit_sentence(mob/user)
var/prisoner_name = sanitize(input(user, "Please input the name of the prisoner.", "Prisoner Name", registered_id.registered_name)) as text|null
var/prisoner_name = sanitize(input(user, "Please input the name of the prisoner.", "Prisoner Name", registered_id.registered_name) as text|null)
if(prisoner_name == null | !user.Adjacent(src))
return FALSE
var/sentence_length = input(user, "Please input the length of their sentence in minutes (0 for perma).", "Sentence Length", registered_id.sentence) as num|null