mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Fixes bar sign not changing due to wrong conditional.
This commit is contained in:
@@ -69,7 +69,7 @@ namespace Content.Server.BarSign.Systems
|
||||
|
||||
if (component.Owner.TryGetComponent(out SpriteComponent? sprite))
|
||||
{
|
||||
if (!component.Owner.TryGetComponent(out ApcPowerReceiverComponent? receiver) || receiver.Powered)
|
||||
if (!component.Owner.TryGetComponent(out ApcPowerReceiverComponent? receiver) || !receiver.Powered)
|
||||
{
|
||||
sprite.LayerSetState(0, "empty");
|
||||
sprite.LayerSetShader(0, "shaded");
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: Zumorica
|
||||
changes:
|
||||
- type: Fix # One of the following: Add, Remove, Tweak, Fix
|
||||
message: Fixes bar sign not changing its sprite correctly.
|
||||
@@ -33,7 +33,7 @@
|
||||
female:
|
||||
collection: FemaleScreams
|
||||
wilhelm:
|
||||
path: /Audio/Voice/Human/wilhelm_scream.ogg
|
||||
path: /Audio/Voice/Human/wilhelm_scream.oggaaa
|
||||
|
||||
- type: action
|
||||
actionType: VoxScream
|
||||
|
||||
Reference in New Issue
Block a user