fix lightbulb color (#39623)
This commit is contained in:
@@ -22,8 +22,7 @@ public abstract class SharedLightBulbSystem : EntitySystem
|
|||||||
private void OnInit(EntityUid uid, LightBulbComponent bulb, ComponentInit args)
|
private void OnInit(EntityUid uid, LightBulbComponent bulb, ComponentInit args)
|
||||||
{
|
{
|
||||||
// update default state of bulbs
|
// update default state of bulbs
|
||||||
SetColor(uid, bulb.Color, bulb);
|
UpdateAppearance(uid, bulb);
|
||||||
SetState(uid, bulb.State, bulb);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void HandleLand(EntityUid uid, LightBulbComponent bulb, ref LandEvent args)
|
private void HandleLand(EntityUid uid, LightBulbComponent bulb, ref LandEvent args)
|
||||||
|
|||||||
Reference in New Issue
Block a user