Skip to content

Commit 31a01be

Browse files
committed
legacyJudge should use MOD_API_VERSION instead
1 parent 5b2a86a commit 31a01be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/backend/scripting/events/note/NoteHitEvent.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ final class NoteHitEvent extends CancellableEvent {
205205
private inline function get_legacyJudge():Bool {
206206
if (_explicitLegacyJudge != null)
207207
return _explicitLegacyJudge;
208-
return Flags.CURRENT_API_VERSION == 1;
208+
return Flags.MOD_API_VERSION == 1;
209209
}
210210
private function set_legacyJudge(value:Bool):Bool {
211211
_explicitLegacyJudge = value;

0 commit comments

Comments
 (0)