Makes the uplink purchase sound much quieter (#5989)
This commit is contained in:
@@ -134,7 +134,7 @@ namespace Content.Server.Traitor.Uplink
|
|||||||
}
|
}
|
||||||
|
|
||||||
SoundSystem.Play(Filter.SinglePlayer(message.Session), uplink.BuySuccessSound.GetSound(),
|
SoundSystem.Play(Filter.SinglePlayer(message.Session), uplink.BuySuccessSound.GetSound(),
|
||||||
uplink.Owner, AudioParams.Default.WithVolume(-2f));
|
uplink.Owner, AudioParams.Default.WithVolume(-8f));
|
||||||
|
|
||||||
RaiseNetworkEvent(new UplinkBuySuccessMessage(), message.Session.ConnectedClient);
|
RaiseNetworkEvent(new UplinkBuySuccessMessage(), message.Session.ConnectedClient);
|
||||||
}
|
}
|
||||||
@@ -158,7 +158,7 @@ namespace Content.Server.Traitor.Uplink
|
|||||||
|
|
||||||
// play buying sound
|
// play buying sound
|
||||||
SoundSystem.Play(Filter.SinglePlayer(args.Session), uplink.BuySuccessSound.GetSound(),
|
SoundSystem.Play(Filter.SinglePlayer(args.Session), uplink.BuySuccessSound.GetSound(),
|
||||||
uplink.Owner, AudioParams.Default.WithVolume(-2f));
|
uplink.Owner, AudioParams.Default.WithVolume(-8f));
|
||||||
|
|
||||||
UpdateUserInterface(uplink);
|
UpdateUserInterface(uplink);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user