mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:27:40 +02:00
yeah that's about it (#591)
works perfectly, looks better, easier to type, and more efficient. what's there to hate
This commit is contained in:
@ -158,8 +158,8 @@ namespace HeavenStudio.Games
|
||||
|
||||
public override void OnBeatPulse(double beat)
|
||||
{
|
||||
if (!BossAnim.IsPlayingAnimationName("BossCall")
|
||||
&& !BossAnim.IsPlayingAnimationName("BossSignal")
|
||||
if (!BossAnim.IsPlayingAnimationNames("BossCall")
|
||||
&& !BossAnim.IsPlayingAnimationNames("BossSignal")
|
||||
&& BeatIsInBopRegion(beat))
|
||||
{
|
||||
BossAnim.DoScaledAnimationAsync(bossAnnoyed ? "BossMiss" : "Bop", 0.5f);
|
||||
@ -174,7 +174,7 @@ namespace HeavenStudio.Games
|
||||
{
|
||||
BeatAction.New(instance, new List<BeatAction.Action>() {
|
||||
new BeatAction.Action(beat + i, delegate {
|
||||
if (!BossAnim.IsPlayingAnimationName("BossCall") && !BossAnim.IsPlayingAnimationName("BossSignal")) {
|
||||
if (!BossAnim.IsPlayingAnimationNames("BossCall") && !BossAnim.IsPlayingAnimationNames("BossSignal")) {
|
||||
BossAnim.DoScaledAnimationAsync(bossAnnoyed ? "BossMiss" : "Bop", 0.5f);
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user