Make paused poweredlights enabled (#14270)

This commit is contained in:
metalgearsloth
2023-05-03 00:57:48 +10:00
committed by GitHub
parent 662628d0f9
commit 47edb3cd7f
3 changed files with 15 additions and 1 deletions

View File

@@ -333,6 +333,10 @@ namespace Content.Server.Light.EntitySystems
private void OnPowerChanged(EntityUid uid, PoweredLightComponent component, ref PowerChangedEvent args)
{
// TODO: Power moment
if (MetaData(uid).EntityPaused)
return;
UpdateLight(uid, component);
}