Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Fixes a footsteps runtime [MDB IGNORE] (#25240)
* Fixes a footsteps runtime (#79903) ## About The Pull Request Tin. Fixes the following runtime: ![image](https://github.com/tgstation/tgstation/assets/13398309/e4cd087f-3c6e-49f7-aaa4-2a91ca1b9a79) Which happened because `barefoot_type` can potentially be null if `turf.barefootstep` is null. ![Code_KnExLVOSD4](https://github.com/tgstation/tgstation/assets/13398309/1b3c97d5-500b-4d3d-a104-8dac7071fae0) This results in trying to access `GLOB.barefootstep[null]`, which results in a runtime, which prevents the `play_fov_effect()` from executing. ## Why It's Good For The Game Less CI failures, and fixes a bug. ## Changelog :cl: fix: fixes a runtime in footstep code that would prevent the fov effect from playing to nearby mobs /:cl: * Fixes a footsteps runtime --------- Co-authored-by: Bloop <[email protected]>
- Loading branch information