Skip to content

Commit

Permalink
Update living_verbs.dm (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 authored Sep 16, 2024
1 parent 8e131b4 commit ed66721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/living_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
ghostize(TRUE)
return

if(tgui_alert(src, "Are you sure you want to ghost?\n(You are alive. If you ghost, you won't be able to return to your body. You can't change your mind so choose wisely!)", "Ghost", list("Yes", "No")) != "Yes")
if(!is_centcom_level(loc.z) && tgui_alert(src, "Are you sure you want to ghost?\n(You are alive. If you ghost, you won't be able to return to your body. You can't change your mind so choose wisely!)", "Ghost", list("Yes", "No")) != "Yes")
return

set_resting(TRUE)
Expand Down

0 comments on commit ed66721

Please sign in to comment.