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?