diff --git a/mod.json b/mod.json index 54b6373..80a10b8 100644 --- a/mod.json +++ b/mod.json @@ -3,7 +3,7 @@ "name": "BeatLeaderModifiers", "id": "BeatLeaderModifiers", "author": "NSGolova", - "version": "0.2.0", + "version": "0.2.1", "packageId": "com.beatgames.beatsaber", "packageVersion": "1.25.1", "coverImage": "cover.png", diff --git a/qpm.json b/qpm.json index 2c93883..fc62d37 100644 --- a/qpm.json +++ b/qpm.json @@ -4,7 +4,7 @@ "info": { "name": "BeatLeaderModifiers", "id": "BeatLeaderModifiers", - "version": "0.2.0", + "version": "0.2.1", "url": null, "additionalData": { "overrideSoName": "libblmodifiers.so" diff --git a/src/RthythmGameModifier.cpp b/src/RthythmGameModifier.cpp index deaf52a..fd69e1b 100644 --- a/src/RthythmGameModifier.cpp +++ b/src/RthythmGameModifier.cpp @@ -145,7 +145,7 @@ namespace BeatLeaderModifiers { MAKE_HOOK_MATCH(NoteControllerInit, &NoteController::Init, void, NoteController* self, NoteData* noteData, float worldRotation, Vector3 moveStartPos, Vector3 moveEndPos, Vector3 jumpEndPos, float moveDuration, float jumpDuration, float jumpGravity, float endRotation, float uniformScale, bool rotatesTowardsPlayer, bool useRandomRotation) { NoteControllerInit(self, noteData, worldRotation, moveStartPos, moveEndPos, jumpEndPos, moveDuration, jumpDuration, jumpGravity, endRotation, uniformScale, rotatesTowardsPlayer, useRandomRotation); - if (UploadDisabledByReplay()) { + if (UploadDisabledByReplay() || customCharacterisitic != CustomCharacterisitic::betterScoring) { return; } float colliderScale = 0.58;