Fix errors in chasm

This commit is contained in:
KingRainbow44
2023-08-13 18:01:41 -04:00
parent f2b81a70c8
commit 0175e207af
3 changed files with 41 additions and 6 deletions

View File

@@ -910,8 +910,8 @@ public final class Scene {
public int loadDynamicGroup(int group_id) {
SceneGroup group = getScriptManager().getGroupById(group_id);
if (group == null || getScriptManager().getGroupInstanceById(group_id) != null)
return -1; // Group not found or already instanced
if (group == null)
return -1; // Group not found
this.onLoadGroup(new ArrayList<>(List.of(group)));