mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
Fan Club: address issue with double clap -> I suppose stack
This commit is contained in:
parent
905c337c77
commit
d768f48eae
1 changed files with 11 additions and 2 deletions
|
@ -177,10 +177,19 @@ namespace HeavenStudio.Games
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DisableSpecBop(float beat, float length)
|
private void DisableSpecBop(float beat, float length)
|
||||||
|
{
|
||||||
|
float bt = Conductor.instance.songPositionInBeats;
|
||||||
|
if (bt >= noSpecBop.startBeat && bt < noSpecBop.startBeat + noSpecBop.length)
|
||||||
|
{
|
||||||
|
float thisStToNextSt = beat - noSpecBop.startBeat;
|
||||||
|
noSpecBop.length = thisStToNextSt + length;
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
noSpecBop.length = length;
|
noSpecBop.length = length;
|
||||||
noSpecBop.startBeat = beat;
|
noSpecBop.startBeat = beat;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void PlayAnim(float beat, float length, int type)
|
public void PlayAnim(float beat, float length, int type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue