Removes old height parameter from CanPass proc
This commit is contained in:
@@ -265,9 +265,7 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/structure/girder/CanPass(atom/movable/mover, turf/target, height=0)
|
||||
if(height==0)
|
||||
return 1
|
||||
/obj/structure/girder/CanPass(atom/movable/mover, turf/target)
|
||||
if(istype(mover) && mover.checkpass(PASSGRILLE))
|
||||
return prob(girderpasschance)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user