mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-24 01:42:08 +02:00
Merge pull request #77 from freeformfunposting/master
(minor) Fix for a sound error with Autoplay in Spaceball
This commit is contained in:
commit
b437b5b392
@ -55,6 +55,12 @@ namespace HeavenStudio.Games.Scripts_Spaceball
|
||||
|
||||
Jukebox.PlayOneShotGame("spaceball/hit");
|
||||
|
||||
// jank fix for a bug with autoplay - freeform
|
||||
if (GameManager.instance.autoplay && Conductor.instance.isPlaying && GameManager.instance.canInput)
|
||||
{
|
||||
Jukebox.PlayOneShotGame("spaceball/swing");
|
||||
}
|
||||
|
||||
randomEndPosX = Random.Range(40f, 55f);
|
||||
|
||||
anim.enabled = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user