Skip to content

Commit

Permalink
Fix Lua Script Stage
Browse files Browse the repository at this point in the history
Very Cool Change
  • Loading branch information
Whennosabenxd authored Jan 4, 2025
1 parent 792fa22 commit 0323c40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/game/StageGroup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ class StageGroup extends FlxGroup {
for (object in stageObjects) {
stageScript.set(object[0], object[1]);
}
} else if (Assets.exists(Paths.lua("stage data/" + stageData.scriptName))) {
} else if (Assets.exists(Paths.lua("data/stage data/" + stageData.scriptName))) { // Fixed
stageScript = new LuaScript(#if MODDING_ALLOWED PolymodAssets #else Assets #end
.getPath(Paths.lua("stage data/" + stageData.scriptName)));
.getPath(Paths.lua("data/stage data/" + stageData.scriptName)));
}
}
}
Expand Down

0 comments on commit 0323c40

Please sign in to comment.