Fixed Construction Zip Sound Path (#1565)

This commit is contained in:
Exp
2020-08-01 12:45:38 +02:00
committed by GitHub
parent 07de9b4014
commit d7d36f090a

View File

@@ -461,9 +461,9 @@ namespace Content.Server.GameObjects.EntitySystems
return false;
}
if (matStep.Material == ConstructionStepMaterial.MaterialType.Cable)
sound.PlayAtCoords("/Audio/items/zip.ogg", gridCoords);
sound.PlayAtCoords("/Audio/Items/zip.ogg", gridCoords);
else
sound.PlayAtCoords("/Audio/items/deconstruct.ogg", gridCoords);
sound.PlayAtCoords("/Audio/Items/deconstruct.ogg", gridCoords);
return true;
case ConstructionStepTool toolStep:
if (!slapped.TryGetComponent<ToolComponent>(out var tool))