]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
make healing sounds audible (#23211)
authorWhisper <121047731+QuietlyWhisper@users.noreply.github.com>
Sat, 30 Dec 2023 22:32:00 +0000 (17:32 -0500)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 22:32:00 +0000 (15:32 -0700)
Content.Server/Medical/HealingSystem.cs

index 38f14ea9dbe5ff0f81cfcb7301a8aa6caf1fe326..69d3b04cc18189c83513ce79d2b184dca35a00ee 100644 (file)
@@ -111,7 +111,7 @@ public sealed class HealingSystem : EntitySystem
                 $"{EntityManager.ToPrettyString(args.User):user} healed themselves for {total:damage} damage");
         }
 
-        _audio.PlayPvs(healing.HealingEndSound, entity.Owner, AudioHelpers.WithVariation(0.125f, _random).WithVolume(-5f));
+        _audio.PlayPvs(healing.HealingEndSound, entity.Owner, AudioHelpers.WithVariation(0.125f, _random).WithVolume(1f));
 
         // Logic to determine the whether or not to repeat the healing action
         args.Repeat = (HasDamage(entity.Comp, healing) && !dontRepeat);
@@ -185,7 +185,7 @@ public sealed class HealingSystem : EntitySystem
         }
 
         _audio.PlayPvs(component.HealingBeginSound, uid,
-                AudioHelpers.WithVariation(0.125f, _random).WithVolume(-5f));
+                AudioHelpers.WithVariation(0.125f, _random).WithVolume(1f));
 
         var isNotSelf = user != target;