mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Spider Type Check Fix (#78817)
## About The Pull Request Fixes bug, I am running out of gbp plz merge ## Why It's Good For The Game Fixes #78802 ## Changelog 🆑 fix: Spider types get properly checked again. /🆑
This commit is contained in:
@@ -174,11 +174,11 @@
|
||||
|
||||
/obj/structure/spider/sticky/CanAllowThrough(atom/movable/mover, border_dir)
|
||||
. = ..()
|
||||
if(isspider(mover))
|
||||
if(HAS_TRAIT(mover, TRAIT_WEB_SURFER))
|
||||
return TRUE
|
||||
if(!isliving(mover))
|
||||
return
|
||||
if(isspider(mover.pulledby))
|
||||
if(HAS_TRAIT(mover.pulledby, TRAIT_WEB_SURFER))
|
||||
return TRUE
|
||||
loc.balloon_alert(mover, "stuck in web!")
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user