Fan Club Sound Fix (#613)

* title screen prompt won't switch out of mouse

* fix fan club crowd sounds not being scheduled properly

* remove extra rain drop from kman particle (again smh)
This commit is contained in:
minenice55
2024-01-07 18:45:25 -05:00
committed by GitHub
parent 1cbdbba086
commit 5cc31c32d8
6 changed files with 84 additions and 72 deletions

View File

@ -142,15 +142,15 @@ namespace HeavenStudio
SoundByte.PlayOneShot("ui/UIEnter");
var nextController = newController;
var lastController = PlayerInput.GetInputController(1);
if (newController is InputMouse)
if ((newController is InputMouse) && (lastController is not InputMouse))
{
Debug.Log("Mouse used, selecting keyboard instead");
nextController = controllers[0];
}
Debug.Log("Assigning controller: " + newController.GetDeviceName());
var lastController = PlayerInput.GetInputController(1);
if (lastController != nextController)
{
if (nextController == null)