Fix a bunch of compiler warnigns.

This commit is contained in:
Pieter-Jan Briers
2020-06-08 14:44:11 +02:00
parent 101335debe
commit 433198a123
4 changed files with 6 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ namespace Content.Server.GameObjects.Components.Construction
}
// OK WE'RE GOOD CONSTRUCTION STARTED.
EntitySystem.Get<AudioSystem>().Play("/Audio/items/deconstruct.ogg", Owner);
EntitySystem.Get<AudioSystem>().PlayFromEntity("/Audio/items/deconstruct.ogg", Owner);
if (prototype.Stages.Count == 2)
{
// Exactly 2 stages, so don't make an intermediate frame.