Fan Club: address issue with double clap -> I suppose stack
This commit is contained in:
parent
d404b4c277
commit
0004961f90
|
@ -178,8 +178,17 @@ namespace HeavenStudio.Games
|
|||
|
||||
private void DisableSpecBop(float beat, float length)
|
||||
{
|
||||
noSpecBop.length = length;
|
||||
noSpecBop.startBeat = beat;
|
||||
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.startBeat = beat;
|
||||
}
|
||||
}
|
||||
|
||||
public void PlayAnim(float beat, float length, int type)
|
||||
|
|
Loading…
Reference in a new issue