Makes reset_perspective handle turf as eye

This commit is contained in:
AnturK
2017-12-27 22:05:43 +01:00
parent 739e17dfa3
commit a84915b217
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -260,13 +260,13 @@
client.perspective = EYE_PERSPECTIVE
client.eye = A
else
if(isturf(loc))
if(isturf(loc) && (!A || loc == A))
client.eye = client.mob
client.perspective = MOB_PERSPECTIVE
else
client.perspective = EYE_PERSPECTIVE
client.eye = loc
return 1
client.eye = A
return 1
/mob/living/reset_perspective(atom/A)
if(..())