Fixes clientless pAI booping runtime

pAIs without an active client can now be booped back into their card
form.
This commit is contained in:
Krausus
2015-05-16 06:16:16 -04:00
parent 575ed36fdc
commit 67323c8309
+3 -2
View File
@@ -457,8 +457,9 @@
if(istype(T)) T.visible_message("<b>[src]</b> neatly folds inwards, compacting down to a rectangular card.")
src.stop_pulling()
src.client.perspective = EYE_PERSPECTIVE
src.client.eye = card
if(src.client)
src.client.perspective = EYE_PERSPECTIVE
src.client.eye = card
//This seems redundant but not including the forced loc setting messes the behavior up.
src.loc = card