Fixes pAI getting stuck after user leaves the game while the pAI is still unfolded.

This commit is contained in:
MisterLayne
2017-09-07 17:21:08 -04:00
parent d2e482d886
commit 8d1649b703
+4 -3
View File
@@ -377,9 +377,10 @@
var/turf/T = get_turf(src)
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(client)
src.stop_pulling()
src.client.perspective = EYE_PERSPECTIVE
src.client.eye = card
//stop resting
resting = 0