mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Merge pull request #7901 from Mandurrrh/holotapefix
Fixes #7883 Borgs can't pass through holotape
This commit is contained in:
@@ -153,10 +153,16 @@
|
||||
spawn(40)
|
||||
charging = 0
|
||||
|
||||
/obj/item/holotape/Bumped(var/mob/living/carbon/C)
|
||||
if(C.m_intent == "walk")
|
||||
/obj/item/holotape/Bumped(var/mob/M)
|
||||
if(iscarbon(M))
|
||||
var/mob/living/carbon/C = M
|
||||
if(C.m_intent == "walk")
|
||||
var/turf/T = get_turf(src)
|
||||
C.loc = T
|
||||
|
||||
if(M.has_unlimited_silicon_privilege)
|
||||
var/turf/T = get_turf(src)
|
||||
C.loc = T
|
||||
M.loc = T
|
||||
|
||||
/obj/item/holotape/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
|
||||
if(!density) return 1
|
||||
|
||||
Reference in New Issue
Block a user