Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] fixes basic mobs with ranged attacks attacking in containers (…
…#1300) * fixes basic mobs with ranged attacks attacking in containers (#81804) ## About The Pull Request see title - changes an isturf check to an !ismob check for an attacking basic mob's loc in can_attack(), as previously this allowed mobs to shoot from inside containers ## Why It's Good For The Game ![image](https://github.com/tgstation/tgstation/assets/31829017/ffe03955-78f2-4e6e-b15c-9fdf6d85d588) ## Changelog :cl: fix: Basic mobs no longer have the (unintended) ability to shoot out of containers, like bluespace body bags. /:cl: --------- Co-authored-by: Hatterhat <[email protected]> Co-authored-by: Ghom <[email protected]> * fixes basic mobs with ranged attacks attacking in containers --------- Co-authored-by: Hatterhat <[email protected]> Co-authored-by: Hatterhat <[email protected]> Co-authored-by: Ghom <[email protected]>
- Loading branch information