* Fix 7574 * Added .Load to broken and burned states * 2am head * I swear after this I'm reading every single power code line there eis
This commit is contained in:
parent
b99b14b143
commit
bea86f3ddc
|
|
@ -244,7 +244,6 @@ namespace Content.Server.Light.EntitySystems
|
|||
}
|
||||
else
|
||||
{
|
||||
powerReceiver.Load = (light.On && lightBulb.State == LightBulbState.Normal) ? lightBulb.PowerUse : 0;
|
||||
|
||||
switch (lightBulb.State)
|
||||
{
|
||||
|
|
@ -275,6 +274,8 @@ namespace Content.Server.Light.EntitySystems
|
|||
appearance?.SetData(PoweredLightVisuals.BulbState, PoweredLightState.Burned);
|
||||
break;
|
||||
}
|
||||
|
||||
powerReceiver.Load = (light.On && lightBulb.State == LightBulbState.Normal) ? lightBulb.PowerUse : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue