We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5f6ed1 commit 25274a6Copy full SHA for 25274a6
1 file changed
src/index.js
@@ -1227,7 +1227,7 @@ class Builder {
1227
const isHadMVCommand = commandMV.length > 0
1228
1229
const code =
1230
- (isHadCode || isHadParam ? `\n const FILENAME = document.currentScript.src.split("/").pop().replace(".js", "")` : "")
+ (isHadMZCommand || isHadParam ? `\n const FILENAME = document.currentScript.src.split("/").pop().replace(".js", "")` : "")
1231
+ (isHadParam ? "\n const PARAMETERS = PluginManager.parameters(FILENAME)" : "")
1232
+ (isHadCode ? `\n\n${commandsCode}` : "")
1233
+ (isHadMVCommand ? `\n\n if (Utils.RPGMAKER_NAME === "MV") {\n${commandMV}\n }` : "")
0 commit comments