Files
Bubberstation/code/modules/power/lighting
SmArtKar 407a79418f 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.

# Conflicts:
#	code/modules/power/lighting/light.dm
2025-08-19 22:30:26 -04:00
..