mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-26 03:15:56 +00:00
fix hearing TH audio when dead? maybe?
This commit is contained in:
parent
3661551e5f
commit
d0a47580ee
@ -82,8 +82,8 @@ public class RespawnOnDeath : MonoBehaviour
|
||||
ResetCanvases();
|
||||
|
||||
var mixer = Locator.GetAudioMixer();
|
||||
mixer._deathMixed = false;
|
||||
mixer._nonEndTimesVolume.FadeTo(1, 0.5f);
|
||||
//mixer._deathMixed = false;
|
||||
//mixer._nonEndTimesVolume.FadeTo(1, 0.5f);
|
||||
mixer._endTimesVolume.FadeTo(1, 0.5f);
|
||||
mixer.MixMap();
|
||||
|
||||
|
@ -139,6 +139,12 @@ public class RespawnManager : MonoBehaviour, IAddComponentOnStart
|
||||
cameraEffectController.OpenEyes(1f);
|
||||
|
||||
OWInput.ChangeInputMode(InputMode.Character);
|
||||
|
||||
var mixer = Locator.GetAudioMixer();
|
||||
mixer._deathMixed = false;
|
||||
mixer._nonEndTimesVolume.FadeTo(1, 0.5f);
|
||||
mixer._endTimesVolume.FadeTo(1, 0.5f);
|
||||
mixer.UnmixMap();
|
||||
}
|
||||
|
||||
public void OnPlayerDeath(PlayerInfo player)
|
||||
|
Loading…
Reference in New Issue
Block a user