From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 13 Aug 2025 22:45:51 +0000 (+0200) Subject: fix lightbulb color (#39623) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b427e7e8d4d49500b18e60c24f6b568be3600530;p=space-station-14.git fix lightbulb color (#39623) --- diff --git a/Content.Shared/Light/EntitySystems/SharedLightBulbSystem.cs b/Content.Shared/Light/EntitySystems/SharedLightBulbSystem.cs index 34c986b4de..b2e9720984 100644 --- a/Content.Shared/Light/EntitySystems/SharedLightBulbSystem.cs +++ b/Content.Shared/Light/EntitySystems/SharedLightBulbSystem.cs @@ -22,8 +22,7 @@ public abstract class SharedLightBulbSystem : EntitySystem private void OnInit(EntityUid uid, LightBulbComponent bulb, ComponentInit args) { // update default state of bulbs - SetColor(uid, bulb.Color, bulb); - SetState(uid, bulb.State, bulb); + UpdateAppearance(uid, bulb); } private void HandleLand(EntityUid uid, LightBulbComponent bulb, ref LandEvent args)