Suppress some spammy log calls

This commit is contained in:
EliteMasterEric 2024-09-25 10:02:18 -04:00
parent a84ae6069e
commit 67126b33fa
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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);
} }