mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #7263 from mwerezak/hydrotray
Fixes atoms with no flags set being walkable
This commit is contained in:
@@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
//Finally, check objects/mobs to block entry that are not on the border
|
//Finally, check objects/mobs to block entry that are not on the border
|
||||||
for(var/atom/movable/obstacle in src)
|
for(var/atom/movable/obstacle in src)
|
||||||
if(obstacle.flags & ~ON_BORDER)
|
if(!(obstacle.flags & ON_BORDER))
|
||||||
if(!obstacle.CanPass(mover, mover.loc, 1, 0) && (forget != obstacle))
|
if(!obstacle.CanPass(mover, mover.loc, 1, 0) && (forget != obstacle))
|
||||||
mover.Bump(obstacle, 1)
|
mover.Bump(obstacle, 1)
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user