Реврайт освещения от дверей на клиент (#375)
* fix: doors no longer light up without power * rework: rewrite PointLightAirlockSystem on client * public to private * cleanup
This commit is contained in:
@@ -86,8 +86,6 @@ public abstract partial class SharedDoorSystem
|
||||
Dirty(ent, ent.Comp);
|
||||
UpdateBoltLightStatus(ent);
|
||||
|
||||
RaiseLocalEvent(ent, new DoorlightsChangedEvent(DoorVisuals.BoltLights, value), true);
|
||||
|
||||
var sound = value ? ent.Comp.BoltDownSound : ent.Comp.BoltUpSound;
|
||||
if (predicted)
|
||||
Audio.PlayPredicted(sound, ent, user: user);
|
||||
|
||||
Reference in New Issue
Block a user