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:
Comxy
2023-10-08 00:57:04 +01:00
committed by GitHub
parent f1be138683
commit 924ceedeaf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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