medal fix thing

This commit is contained in:
Kolo
2025-04-30 00:41:28 -04:00
committed by Eric
parent 832bc5bd83
commit 808698ace7
+1 -1
View File
@@ -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?