mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
[MIRROR] Fixes runtimes when admin ghosting out of a camera eye [MDB IGNORE] (#10488)
* Fixes runtimes when admin ghosting out of a camera eye (#63838) observetarget is not guaranteed to exist * Fixes runtimes when admin ghosting out of a camera eye Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
This commit is contained in:
@@ -868,6 +868,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
|
||||
/mob/dead/observer/proc/cleanup_observe()
|
||||
if(isnull(observetarget))
|
||||
return
|
||||
var/mob/target = observetarget
|
||||
observetarget = null
|
||||
client?.perspective = initial(client.perspective)
|
||||
|
||||
Reference in New Issue
Block a user