Browse Source

replicate exec signatures for queueExec

AzaezelX 5 năm trước cách đây
mục cha
commit
09f9b5351c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Templates/BaseGame/game/core/utility/scripts/module.cs

+ 1 - 1
Templates/BaseGame/game/core/utility/scripts/module.cs

@@ -205,7 +205,7 @@ function SimSet::queueExec(%scopeSet, %execFilePath, %isExclusive)
    if ($traceModuleCalls)
       warn("module root path="@ makeRelativePath(%moduleDef.ModulePath));
   
-   %fullPath = makeRelativePath(%moduleDef.ModulePath) @ %execFilePath;
+   %fullPath = pathConcat(%moduleDef.ModulePath, %execFilePath);
    ///go through all entries
    %locked = false;
    %execFilecount = ExecFilesList.count();