Fixes another holocall runtime

This commit is contained in:
CitadelStationBot
2017-05-30 14:44:25 -05:00
parent 20ea1dd108
commit 6c958c129a
2 changed files with 13 additions and 2 deletions
+3 -2
View File
@@ -44,11 +44,12 @@
//cleans up ALL references :)
/datum/holocall/Destroy()
user.reset_perspective()
if(user.client)
if(!QDELETED(eye) && user.client)
for(var/datum/camerachunk/chunk in eye.visibleCameraChunks)
chunk.remove(eye)
qdel(eye)
eye = null
user.remote_control = null
QDEL_NULL(eye)
user = null
if(hologram)