Skip to content

Commit

Permalink
Campaign DNR fix (#16214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon authored Jul 2, 2024
1 parent 60d8d41 commit 268100a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions code/datums/gamemodes/campaign.dm
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,17 @@
ready_candidate?.client?.screen?.Cut()
qdel(ready_candidate)
return

var/mob/living/carbon/human/human_current
if(isobserver(candidate))
var/mob/dead/observer/observer_candidate = candidate
if(!isnull(observer_candidate.can_reenter_corpse))
human_current = observer_candidate.can_reenter_corpse.resolve()
qdel(candidate)
else if(ishuman(candidate))
human_current = candidate

human_current?.set_undefibbable(TRUE)


///Actually respawns the player, if still able
Expand Down

0 comments on commit 268100a

Please sign in to comment.