Files
Bubberstation/code/modules/atmospherics
ArcaneMusic 15dcb44883 Prevents air alarm runtime due to not getting an environment passed. (#84495)
## About The Pull Request

Part of a series of quickly checking in-round runtimes.

Air alarms call check_danger() and `check_environmet()` throughout their
operation to collect data on the environment and air around the
machinery, and then update overlays, alarms, etc. There were a few
instances in round where it was being passed null to environment within
check_danger, which was causing it to runtime. Running through the proc
chain, the whole logic here seems to rely on being able to obtain it's
environment variable, which is why I've added early returns if
environment is not met on air alarms to prevent said runtimes.

## Why It's Good For The Game

Less runtimes means cleaner code on live.

## Changelog

No player facing changes.
2024-07-03 11:30:47 -04:00
..