Merge pull request #817 from RHeavenStudio/cherry-pick-release_1_patches-a6fcdd0fb4985fb971ba5f99dcc875e589867481

Sorting rework i guess part 2 electric boogaleo
This commit is contained in:
minenice55 2024-03-30 19:27:02 +00:00 committed by GitHub
commit b25df9aeb8
2 changed files with 11 additions and 0 deletions

View file

@ -106,6 +106,7 @@ namespace HeavenStudio.Editor
foreach (var minigame in EventCaller.instance.minigames.Values)
AddIcon(minigame);
GridGameSelectorRect.GetComponent<GridGameSelector>().Sort("alphabet");
UpdateEditorStatus(true);
#if HEAVENSTUDIO_PROD

View file

@ -72,6 +72,16 @@ namespace HeavenStudio
{
Debug.LogWarning("Game loader RvlBookLoader failed!");
}
game = NtrFreezeFrameLoader.AddGame(eventCaller);
if (game != null)
{
eventCaller.minigames.Add(game.name, game);
}
else
{
Debug.LogWarning("Game loader NtrCameraManLoader failed!");
}
game = AgbClapLoader.AddGame(eventCaller);
if (game != null)