From 90cf53b959ed014946a7d0d87841f5924d5b74ad Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Tue, 2 Apr 2024 17:27:29 -0400 Subject: [PATCH] Someone forgot to merge assets from the credits branch. --- assets | 2 +- source/funkin/ui/credits/CreditsDataHandler.hx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/assets b/assets index a54eb8517..3ccfe33ac 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit a54eb8517914e2a90b77e122ecd81cf73d60adaa +Subproject commit 3ccfe33acef6e62c40317af583af764838544a24 diff --git a/source/funkin/ui/credits/CreditsDataHandler.hx b/source/funkin/ui/credits/CreditsDataHandler.hx index f2722ffbf..86afdafd1 100644 --- a/source/funkin/ui/credits/CreditsDataHandler.hx +++ b/source/funkin/ui/credits/CreditsDataHandler.hx @@ -20,7 +20,12 @@ class CreditsDataHandler if (data == null) { trace('CreditsData(NULL)'); + return; + } + if (data.entries == null || data.entries.length == 0) + { + trace('CreditsData(EMPTY)'); return; }