From 8034f3134f86f649542dd1b21ce883b95fa1295f Mon Sep 17 00:00:00 2001 From: KadeDeveloper Date: Wed, 11 Aug 2021 18:24:24 -0700 Subject: [PATCH] fix botplay strums --- source/PlayState.hx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 013c3b6..0e86856 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -4349,13 +4349,16 @@ class PlayState extends MusicBeatState saveJudge.push(note.rating); } - playerStrums.forEach(function(spr:FlxSprite) + if (!PlayStateChangeables.botPlay) { - if (Math.abs(note.noteData) == spr.ID) + playerStrums.forEach(function(spr:FlxSprite) { - spr.animation.play('confirm', true); - } - }); + if (Math.abs(note.noteData) == spr.ID) + { + spr.animation.play('confirm', true); + } + }); + } if (!note.isSustainNote) {