Merge pull request #4566 from Citadel-Station-13/upstream-merge-33881

[MIRROR] Makes reset_perspective handle turf as eye
This commit is contained in:
deathride58
2017-12-29 06:48:10 +00:00
committed by GitHub
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(..())