Skip to content

Commit

Permalink
Update second_wind.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Superlagg committed Jul 16, 2023
1 parent 3e19f24 commit 2d4719c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/controllers/subsystem/second_wind.dm
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ SUBSYSTEM_DEF(secondwind)
/datum/second_wind/proc/get_revivable_body()
var/mob/corpse = GET_WEAKREF(ownermob)
var/mob/current = get_currently_played_mob() // should always be *something*
var/mob/currenter = current.mind?.current
if(!current) // though turns out it might not???
return // i guess??????
var/mob/currenter = current?.mind?.current
if(isliving(currenter))
if(!corpse || currenter != corpse)
corpse = currenter
Expand Down

0 comments on commit 2d4719c

Please sign in to comment.