- Removed mobs being pulled back in the shuttle; still exists in pods.

- Added a check for turf in the pushback proc. Used Move() instead of step().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5774 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2013-02-24 16:07:45 +00:00
parent e112fd4c27
commit d18af57597
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -440,11 +440,11 @@ datum/shuttle_controller
/proc/push_mob_back(var/mob/living/L, var/dir)
if(iscarbon(L))
if(iscarbon(L) && isturf(L.loc))
if(prob(88))
var/turf/T = get_step(L, dir)
if(T)
for(var/obj/O in T) // For doors and such (kinda ugly but we can't have people opening doors)
if(!O.CanPass(L, L.loc, 1, 0))
return
step(L, dir)
L.Move(get_step(L, dir), dir)