mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 09:57:37 +02:00
Fan Club: address issue with double clap -> I suppose stack
This commit is contained in:
@ -178,8 +178,17 @@ namespace HeavenStudio.Games
|
|||||||
|
|
||||||
private void DisableSpecBop(float beat, float length)
|
private void DisableSpecBop(float beat, float length)
|
||||||
{
|
{
|
||||||
noSpecBop.length = length;
|
float bt = Conductor.instance.songPositionInBeats;
|
||||||
noSpecBop.startBeat = beat;
|
if (bt >= noSpecBop.startBeat && bt < noSpecBop.startBeat + noSpecBop.length)
|
||||||
|
{
|
||||||
|
float thisStToNextSt = beat - noSpecBop.startBeat;
|
||||||
|
noSpecBop.length = thisStToNextSt + length;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
noSpecBop.length = length;
|
||||||
|
noSpecBop.startBeat = beat;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void PlayAnim(float beat, float length, int type)
|
public void PlayAnim(float beat, float length, int type)
|
||||||
|
Reference in New Issue
Block a user