mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-09-15 14:02:23 +02:00
* refactor: extracted notify-on-non-functioning feature from emitter component * refactor: revert server side PowerStateSystem usage of SubscribeLocalEvent - it is not calling base Initialize, skip SetWorkingState raising event on init * refactor: ensureAPC is now conditional for powerstate * refactor: fix double notifiation on destruction and on un-powering for emitter * refactor: added LocTurnedOff for NotifyOnNonFunctioningComponent, fix double alert on destruction, removed emitter-deconstructed-broadcast as it is unused (cannot deconstruct withou unanchor) * refactor: modernize server PowerStateSystem subscription * refactor: update and modernize PowerStatePrototypeTest * refactor: give APE specific radio message upon unlocking * refactor: extracted PowerStateSystem.SetPowerLoad to split init from triggering is-working change event * Update Content.Server/Power/EntitySystems/PowerStateSystem.cs --------- Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>