•Bugfix for implantchairs, occupants can no longer spam-eject themselves.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2354 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
polyxenitopalidou@gmail.com
2011-10-14 15:12:59 +00:00
parent 4947441703
commit 372e2f9052
@@ -88,9 +88,11 @@
return
go_out()
go_out(var/mob/M)
if(!( src.occupant ))
return
if(M == occupant) // so that the guy inside can't eject himself -Agouri
return
if (src.occupant.client)
src.occupant.client.eye = src.occupant.client.mob
src.occupant.client.perspective = MOB_PERSPECTIVE
@@ -152,7 +154,7 @@
set src in oview(1)
if(usr.stat != 0)
return
src.go_out()
src.go_out(usr)
add_fingerprint(usr)
return