Revert "Merge remote-tracking branch 'upstream/master' into ed-06-11-2024-upstream"

This reverts commit 1579da881a, reversing
changes made to a9bdab0705.
This commit is contained in:
Ed
2024-11-06 16:52:08 +03:00
parent 1579da881a
commit ae27cf7e08
40 changed files with 840 additions and 3436 deletions

View File

@@ -41,9 +41,7 @@ namespace Content.Server.Nutrition.EntitySystems
protected override void SplattedCreamPie(EntityUid uid, CreamPieComponent creamPie)
{
// The entity is deleted, so play the sound at its position rather than parenting
var coordinates = Transform(uid).Coordinates;
_audio.PlayPvs(_audio.GetSound(creamPie.Sound), coordinates, AudioParams.Default.WithVariation(0.125f));
_audio.PlayPvs(_audio.GetSound(creamPie.Sound), uid, AudioParams.Default.WithVariation(0.125f));
if (EntityManager.TryGetComponent(uid, out FoodComponent? foodComp))
{