From 808698ace7457bc76a8a52d415d63fa4ee5b9400 Mon Sep 17 00:00:00 2001 From: Kolo <67389779+JustKolosaki@users.noreply.github.com> Date: Sat, 26 Apr 2025 09:10:55 +0200 Subject: [PATCH] medal fix thing --- source/funkin/api/newgrounds/Medals.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/api/newgrounds/Medals.hx b/source/funkin/api/newgrounds/Medals.hx index 5674ae15d..984362473 100644 --- a/source/funkin/api/newgrounds/Medals.hx +++ b/source/funkin/api/newgrounds/Medals.hx @@ -67,7 +67,7 @@ class Medals NewgroundsMedalPlugin.play(medalData.value, medalData.name, medalGraphic); }); #else - if (medalJSON == null) loadMedalJSON(); + if ((medalJSON?.length ?? 0) == 0) loadMedalJSON(); // We have to use a medal image from the game files. We use a Base64 encoded image that NG spits out. // TODO: Wait, don't they give us the medal icon?