From eb774e3d2d8e341c555b096a498fb6461f40f116 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 24 Apr 2020 21:51:54 +0200 Subject: [PATCH] Bar sign is now unshaded when lit. --- .../GameObjects/Components/BarSign/BarSignComponent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Server/GameObjects/Components/BarSign/BarSignComponent.cs b/Content.Server/GameObjects/Components/BarSign/BarSignComponent.cs index 03ee21c5f5..4054c4fcf0 100644 --- a/Content.Server/GameObjects/Components/BarSign/BarSignComponent.cs +++ b/Content.Server/GameObjects/Components/BarSign/BarSignComponent.cs @@ -56,10 +56,12 @@ namespace Content.Server.GameObjects.Components.BarSign if (!_power.Powered) { _sprite.LayerSetState(0, "empty"); + _sprite.LayerSetShader(0, "shaded"); } else { _sprite.LayerSetState(0, prototype.Icon); + _sprite.LayerSetShader(0, "unshaded"); } if (!string.IsNullOrEmpty(prototype.Name))