From 14c2abc91cba076e74188ecd20425c0065396dd8 Mon Sep 17 00:00:00 2001 From: FancyEX <30706150+fancythedeveloper@users.noreply.github.com> Date: Wed, 15 May 2024 17:19:06 -0400 Subject: [PATCH] Update EventCaller.cs Should fix Alpha build not compiling --- Assets/Scripts/EventCaller.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/EventCaller.cs b/Assets/Scripts/EventCaller.cs index dbc92bd1c..7b636d9c8 100644 --- a/Assets/Scripts/EventCaller.cs +++ b/Assets/Scripts/EventCaller.cs @@ -109,6 +109,11 @@ namespace HeavenStudio } } + public static List GetAllInGameManagerList(string gameName) + { + return instance.gameManager.Beatmap.Entities.FindAll(c => c.datamodel.Split('/')[0] == gameName); + } + public static List GetAllInGameManagerList(string gameName, string[] include) { Predicate match = c => @@ -134,4 +139,4 @@ namespace HeavenStudio return instance.minigames.Values.ToList().FindAll(c => c.fxOnly); } } -} \ No newline at end of file +}