This commit is contained in:
Bitl 2022-02-20 09:46:39 -07:00
parent 4593eee4ce
commit 4717ee6e40
2 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ public class ScriptFuncs
"--Load Script", "--Load Script",
//scriptcontents, //scriptcontents,
(GlobalVars.SelectedClientInfo.SeperateFolders ? "" + (GlobalVars.SelectedClientInfo.SeperateFolders ? "" +
execScriptMethod + "('rbxasset://../../content/scripts/" + GlobalPaths.ScriptName + ".lua')" : execScriptMethod + "('rbxasset://../../content/scripts/" + GlobalPaths.ScriptName + ".lua')" + (shouldUseLoadFile ? "()" : "") :
execScriptMethod + "('rbxasset://scripts/" + GlobalPaths.ScriptName + ".lua')"), execScriptMethod + "('rbxasset://scripts/" + GlobalPaths.ScriptName + ".lua')" + (shouldUseLoadFile ? "()" : "")),
GetScriptFuncForType(type), GetScriptFuncForType(type),
!string.IsNullOrWhiteSpace(GlobalPaths.AddonScriptPath) ? "dofile('" + GlobalPaths.AddonScriptPath + "')" : "" !string.IsNullOrWhiteSpace(GlobalPaths.AddonScriptPath) ? "dofile('" + GlobalPaths.AddonScriptPath + "')" : ""
}; };

Binary file not shown.