mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Merge pull request #13958 from MrStonedOne/patch-99
no grav movement now uses !can_pass as well as density
This commit is contained in:
@@ -328,7 +328,7 @@
|
||||
var/atom/movable/AM = A
|
||||
if(AM == buckled) //Kind of unnecessary but let's just be sure
|
||||
continue
|
||||
if(AM.density)
|
||||
if(!AM.CanPass(src) || AM.density)
|
||||
if(AM.anchored)
|
||||
return 1
|
||||
if(pulling == AM)
|
||||
@@ -375,4 +375,4 @@
|
||||
return
|
||||
|
||||
/mob/proc/update_gravity()
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user