diff --git a/source/funkin/api/newgrounds/Medals.hx b/source/funkin/api/newgrounds/Medals.hx index 984362473..0559a004f 100644 --- a/source/funkin/api/newgrounds/Medals.hx +++ b/source/funkin/api/newgrounds/Medals.hx @@ -44,7 +44,8 @@ class Medals if (NewgroundsClient.instance.isLoggedIn()) { var medalList = NewgroundsClient.instance.medals; - if (medalList == null) return; + @:privateAccess + if (medalList == null || medalList._map == null) return; var medalData:Null = medalList.get(medal.getId()); @:privateAccess