Skip to content

Commit

Permalink
Genpop closet sprite adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
JWosak authored Nov 3, 2024
1 parent 30d0abe commit 68af558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/structures/crates_lockers/closets/genpop.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
var/default_name = "prisoner closet"
req_access = list(ACCESS_BRIG)
var/obj/item/card/id/prisoner/registered_id = null
icon_state = "prisoner"
icon_state = "personal closet"
locked = FALSE
anchored = TRUE
opened = TRUE
Expand Down Expand Up @@ -46,7 +46,7 @@
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
if(sentence_length == null | !user.Adjacent(src))
return FALSE
var/crimes = sanitize(input(user, "Please input their crimes.", "Crimes", registered_id.crime) as text|null)
var/crimes = sanitize(input(user, "Please input their crimes.", "Crimes", registered_id.crime) as text|null)
if(crimes == null | !user.Adjacent(src))
return FALSE

Expand Down

0 comments on commit 68af558

Please sign in to comment.