Make ExplosionHelper methods extensions (#2373)

This commit is contained in:
DrSmugleaf
2020-10-25 12:11:23 +01:00
committed by GitHub
parent ab537a0f56
commit 4c46c7afce
5 changed files with 13 additions and 9 deletions

View File

@@ -127,7 +127,7 @@ namespace Content.Server.GameObjects.Components.Pointing
return;
}
ExplosionHelper.SpawnExplosion(Owner.Transform.Coordinates, 0, 2, 1, 1);
Owner.SpawnExplosion(0, 2, 1, 1);
EntitySystem.Get<AudioSystem>().PlayFromEntity("/Audio/Effects/explosion.ogg", Owner);
Owner.Delete();