Files
Bubberstation/code/modules/power/lighting
SmArtKar 61946d4d13 Fixes light flickering potentially causing lag (#92503)
## About The Pull Request

Light flickering was forcing itself into async via waitfor but used
sleeps and thus had zero respect for MC consumption. We fix the lag by
- A) making it use stoplag instead of sleep and moving CHECK_TICK to be
per-light instead of per-APC
- B) reducing chance of lights to flicker in a particular room (reducing
the amount of flickers looks weird)
- C) reducing falloff distance to 32 from 64, as latter is half to third
the station on most maps.
2025-08-11 12:33:36 -05:00
..