fix beatHit and mod folder

This commit is contained in:
Nennneko5787 2023-03-18 13:28:13 +09:00
parent 13bfee374f
commit 65ca74248e
2 changed files with 4 additions and 7 deletions

View File

@ -116,7 +116,7 @@
<assets path="assets/stages" library="stages" exclude="*.fla|*.ogg" if="web"/>
<assets path="assets/stages" library="stages" exclude="*.fla|*.mp3" unless="web"/>
<template path="example_mods" rename="mods" />
<assets path="example_mods" rename="mods" />
<assets path='art/readme.txt' rename='do NOT readme.txt' />
<!-- <template path='mods' /> -->

View File

@ -3187,14 +3187,14 @@ class PlayState extends MusicBeatState
if (curBeat % 2 == 0)
{
if (getAnimName(boyfriend).startsWith("sing"))
if (!boyfriend.animation.curAnim.name.startsWith("sing"))
boyfriend.playAnim('idle');
if (getAnimName(dad).startsWith("sing"))
if (!dad.animation.curAnim.name.startsWith("sing"))
dad.dance();
}
else if (dad.curCharacter == 'spooky')
{
if (getAnimName(dad).startsWith("sing"))
if (!dad.animation.curAnim.name.startsWith("sing"))
dad.dance();
}
@ -3265,9 +3265,6 @@ class PlayState extends MusicBeatState
{
lightningStrikeShit();
}
setOnLuas("curBeat",curBeat);
callOnLuas('onBeatHit', []);
}
var curLight:Int = 0;