From 970d294ea11dacdce846fce9b99a18bd6e57e840 Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Sun, 10 Aug 2025 07:52:57 +0700 Subject: [PATCH] Didnt i fixed this before --- source/funkin/editors/charter/CharterSelection.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/editors/charter/CharterSelection.hx b/source/funkin/editors/charter/CharterSelection.hx index 6d52ec68..f5ffeb7a 100644 --- a/source/funkin/editors/charter/CharterSelection.hx +++ b/source/funkin/editors/charter/CharterSelection.hx @@ -41,7 +41,7 @@ class CharterSelectionScreen extends EditorTreeMenuScreen { for (d in s.difficulties) if (d != '') screen.add(makeChartOption(d, isVariant ? s.variant : null, s.name)); screen.add(new Separator()); - if (s.variants != null) for (v in s.variants) if (s.metas.get(v) != null) screen.add(makeVariationOption(s.metas.get(v))); + if (s.variants != null && s.metas != null) for (v in s.variants) if (s.metas.get(v) != null) screen.add(makeVariationOption(s.metas.get(v))); #if sys screen.insert(0, new NewOption(getID('newDifficulty'), getID('newDifficultyDesc'), () -> {