Fixes the audio and icon (#2854)
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Content.Server.GameObjects.Components.Cargo
|
|||||||
{
|
{
|
||||||
if (!Deleted && !Owner.Deleted && _currentState == CargoTelepadState.Teleporting && _teleportQueue.Count > 0)
|
if (!Deleted && !Owner.Deleted && _currentState == CargoTelepadState.Teleporting && _teleportQueue.Count > 0)
|
||||||
{
|
{
|
||||||
EntitySystem.Get<AudioSystem>().PlayFromEntity("/Audio/machines/phasein.ogg", Owner, AudioParams.Default.WithVolume(-8f));
|
EntitySystem.Get<AudioSystem>().PlayFromEntity("/Audio/Machines/phasein.ogg", Owner, AudioParams.Default.WithVolume(-8f));
|
||||||
Owner.EntityManager.SpawnEntity(_teleportQueue[0].Product, Owner.Transform.Coordinates);
|
Owner.EntityManager.SpawnEntity(_teleportQueue[0].Product, Owner.Transform.Coordinates);
|
||||||
_teleportQueue.RemoveAt(0);
|
_teleportQueue.RemoveAt(0);
|
||||||
if (Owner.TryGetComponent<SpriteComponent>(out var spriteComponent))
|
if (Owner.TryGetComponent<SpriteComponent>(out var spriteComponent))
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
description: "Three vests of well-rounded, decently-protective armor. Requires Security access to open."
|
description: "Three vests of well-rounded, decently-protective armor. Requires Security access to open."
|
||||||
icon:
|
icon:
|
||||||
sprite: Clothing/OuterClothing/Vests/oldarmor.rsi
|
sprite: Clothing/OuterClothing/Vests/oldarmor.rsi
|
||||||
state: armor
|
state: icon
|
||||||
product: CrateSecurityArmor
|
product: CrateSecurityArmor
|
||||||
cost: 1500
|
cost: 1500
|
||||||
category: Security
|
category: Security
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 252 B |
Reference in New Issue
Block a user