mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
- PA particles and projectiles will now be garbage collected. I have tested it to make sure that they are no longer in memory.
- You should no longer open doors when being pushed back in a pod/shuttle. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5750 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -442,4 +442,9 @@ datum/shuttle_controller
|
||||
/proc/push_mob_back(var/mob/living/L, var/dir)
|
||||
if(iscarbon(L))
|
||||
if(prob(88))
|
||||
step(L, dir)
|
||||
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)
|
||||
Reference in New Issue
Block a user