Files
Bubberstation/code/datums/elements
SkyratBot 4927d33e27 [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

🆑
fix: fixes a runtime in footstep code that would prevent the fov effect
from playing to nearby mobs
/🆑

* Fixes a footsteps runtime

---------

Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
2023-11-25 13:17:29 -05:00
..