diff --git a/compiler/src/ScriptCompiler.ts b/compiler/src/ScriptCompiler.ts index 556f954..8f77b2c 100644 --- a/compiler/src/ScriptCompiler.ts +++ b/compiler/src/ScriptCompiler.ts @@ -412,7 +412,7 @@ class Writer { `-- This script can be referenced in DCS. Compiled script will then be loaded dynamically.`, `-- This way you can test the compiled output without having to re-import the script into the mission every time.`, `-- This file will only have to be re-imported when the name or location of the compiled script file changes.`, - `assert(loadfile("${actualFileLocation}"))()` + `assert(loadfile([[${actualFileLocation}]]))()` ]; fs.writeFileSync(devFileLocation, devLines.join('\n'), 'utf-8'); this.logger.info(`Development script written to ${devFileLocation}`); diff --git a/dutchies-dcs-scripting-tools/package.json b/dutchies-dcs-scripting-tools/package.json index 33790d9..a3a0ebf 100644 --- a/dutchies-dcs-scripting-tools/package.json +++ b/dutchies-dcs-scripting-tools/package.json @@ -2,7 +2,7 @@ "name": "dutchies-dcs-scripting-tools", "displayName": "Dutchies Dcs Scripting Tools", "description": "Scripting tools to create DCS script and frameworks easier", - "version": "0.0.3", + "version": "0.0.5", "author": { "name": "dutchie031", "email": "54616262+dutchie031@users.noreply.github.com"