mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
Suppress some spammy log calls
This commit is contained in:
parent
a84ae6069e
commit
67126b33fa
2 changed files with 5 additions and 5 deletions
|
@ -1976,8 +1976,8 @@ class PlayState extends MusicBeatSubState
|
||||||
vocals.volume = 1.0;
|
vocals.volume = 1.0;
|
||||||
vocals.pitch = playbackRate;
|
vocals.pitch = playbackRate;
|
||||||
vocals.time = FlxG.sound.music.time;
|
vocals.time = FlxG.sound.music.time;
|
||||||
trace('${FlxG.sound.music.time}');
|
// trace('${FlxG.sound.music.time}');
|
||||||
trace('${vocals.time}');
|
// trace('${vocals.time}');
|
||||||
resyncVocals();
|
resyncVocals();
|
||||||
|
|
||||||
#if FEATURE_DISCORD_RPC
|
#if FEATURE_DISCORD_RPC
|
||||||
|
|
|
@ -305,7 +305,7 @@ class BaseCharacter extends Bopper
|
||||||
{
|
{
|
||||||
super.onAnimationFinished(animationName);
|
super.onAnimationFinished(animationName);
|
||||||
|
|
||||||
trace('${characterId} has finished animation: ${animationName}');
|
// trace('${characterId} has finished animation: ${animationName}');
|
||||||
if ((animationName.endsWith(Constants.ANIMATION_END_SUFFIX) && !animationName.startsWith('idle') && !animationName.startsWith('dance'))
|
if ((animationName.endsWith(Constants.ANIMATION_END_SUFFIX) && !animationName.startsWith('idle') && !animationName.startsWith('dance'))
|
||||||
|| animationName.startsWith('combo')
|
|| animationName.startsWith('combo')
|
||||||
|| animationName.startsWith('drop'))
|
|| animationName.startsWith('drop'))
|
||||||
|
@ -402,7 +402,7 @@ class BaseCharacter extends Bopper
|
||||||
FlxG.watch.addQuick('singTimeSec-${characterId}', singTimeSec);
|
FlxG.watch.addQuick('singTimeSec-${characterId}', singTimeSec);
|
||||||
if (holdTimer > singTimeSec && shouldStopSinging)
|
if (holdTimer > singTimeSec && shouldStopSinging)
|
||||||
{
|
{
|
||||||
trace('holdTimer reached ${holdTimer}sec (> ${singTimeSec}), stopping sing animation');
|
// trace('holdTimer reached ${holdTimer}sec (> ${singTimeSec}), stopping sing animation');
|
||||||
holdTimer = 0;
|
holdTimer = 0;
|
||||||
|
|
||||||
var currentAnimation:String = getCurrentAnimation();
|
var currentAnimation:String = getCurrentAnimation();
|
||||||
|
@ -636,7 +636,7 @@ class BaseCharacter extends Bopper
|
||||||
var anim:String = 'sing${dir.nameUpper}${miss ? 'miss' : ''}${suffix != '' ? '-${suffix}' : ''}';
|
var anim:String = 'sing${dir.nameUpper}${miss ? 'miss' : ''}${suffix != '' ? '-${suffix}' : ''}';
|
||||||
|
|
||||||
// restart even if already playing, because the character might sing the same note twice.
|
// restart even if already playing, because the character might sing the same note twice.
|
||||||
trace('Playing ${anim}...');
|
// trace('Playing ${anim}...');
|
||||||
playAnimation(anim, true);
|
playAnimation(anim, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue