Make paused poweredlights enabled (#14270)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user