CanPass errors

This commit is contained in:
kevinz000
2019-01-07 00:23:10 -08:00
parent 352383e196
commit 3cc35a1027
3 changed files with 7 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/obj/structure/table/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
/obj/structure/table/CanPass(atom/movable/mover, turf/target, height, air_group)
if(air_group || (height==0)) return 1
if(istype(mover,/obj/item/projectile))
return (check_cover(mover,target))