You're entirely wrong. If something is in a locker, it's loc will be that
locker. If it's in your hand, it's loc is you.
Op 20-dec.-2013 10:24 schreef "adrix89" <notifications@github.com>:

> In code/LINDA/LINDA_system.dm:
>
> > @@ -200,14 +200,21 @@ turf/CanPass(atom/movable/mover, turf/target, height=1.5,air_group=0)
> >  			T.atmos_adjacent_turfs &= ~counterdir
> >
> >  /atom/movable/proc/air_update_turf(var/command = 0)
> > -	if(istype(loc,/turf))
> > -		for(var/turf/T in locs) // used by double wide doors and other nonexistant multitile structures
> > -			if(command)
> > -				T.CalculateAdjacentTurfs()
> > -			if(air_master)
> > -				air_master.add_to_active(T,command)
> > -
> > -
> > +	if(!istype(loc,/turf) && command)
>
> I'm not sure why you are still checking loc as turf.
> There could be an object like the bomb that has its loc abstracted away so
> if you are using command = 1 it will fail.
> locs are guaranteed turfs.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/tgstation/-tg-station/pull/2096/files#r8495424>
> .
>