mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:47:39 +02:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user