Skip to content

Commit

Permalink
Fixes locker breakout message showing the wrong time (ParadiseSS13#27942
Browse files Browse the repository at this point in the history
)

* Fixes Locker breakout message

* Update code/game/objects/structures/crates_lockers/closets/secure/secure_closets.dm

Co-authored-by: Contrabang <[email protected]>
Signed-off-by: Burzah <[email protected]>

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

Co-authored-by: Contrabang <[email protected]>
Signed-off-by: Burzah <[email protected]>

* Apply suggestions from code review

Signed-off-by: Burzah <[email protected]>

---------

Signed-off-by: Burzah <[email protected]>
Co-authored-by: Contrabang <[email protected]>
  • Loading branch information
Burzah and Contrabang authored Jan 14, 2025
1 parent 700f536 commit e16cb74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/structures/crates_lockers/closets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
// breakout_time++ //Harder to get out of welded lockers than locked lockers

//okay, so the closet is either welded or locked... resist!!!
to_chat(L, "<span class='warning'>You lean on the back of \the [src] and start pushing the door open. (this will take about [breakout_time] minutes)</span>")
to_chat(L, "<span class='warning'>You lean on the back of \the [src] and start pushing the door open. (this will take about [breakout_time / 600] minutes)</span>")
for(var/mob/O in viewers(usr.loc))
O.show_message("<span class='danger'>[src] begins to shake violently!</span>", 1)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
return //It's a secure closet, but isn't locked. Easily escapable from, no need to 'resist'

//okay, so the closet is either welded or locked... resist!!!
to_chat(L, "<span class='warning'>You lean on the back of \the [src] and start pushing the door open. (this will take about [breakout_time] minutes)</span>")
to_chat(L, "<span class='warning'>You lean on the back of \the [src] and start pushing the door open. (this will take about [breakout_time / 600] minutes)</span>")
for(var/mob/O in viewers(src))
O.show_message("<span class='danger'>[src] begins to shake violently!</span>", 1)

Expand Down

0 comments on commit e16cb74

Please sign in to comment.