Fixes some conversion mistakes in the scripts

This commit is contained in:
Areloch 2021-01-13 01:51:05 -06:00 committed by Lukas Aldershaab
parent 9ccaa6d3ea
commit c051a0357c
8 changed files with 17 additions and 17 deletions

View file

@ -26,11 +26,11 @@ function setupBaseExpandos()
// FIXME TGEA doesnt currently have these due to the way it's built
return;
se" @ $TorqueScriptFileExtension @ "PathExpando("tools", getExecutablePath() @ "/tools", true);
se" @ $TorqueScriptFileExtension @ "PathExpando("tool", getExecutablePath() , true);
se" @ $TorqueScriptFileExtension @ "PathExpando("toolResources", getExecutablePath() @ "/resources", true);
setScriptPathExpando("tools", getExecutablePath() @ "/tools", true);
setScriptPathExpando("tool", getExecutablePath() , true);
setScriptPathExpando("toolResources", getExecutablePath() @ "/resources", true);
se" @ $TorqueScriptFileExtension @ "PathExpando("core", getExecutablePath() @ "/core", true);
setScriptPathExpando("core", getExecutablePath() @ "/core", true);
// Remove the game expando so we can use this to reset expandos
removeScriptPathExpando("game");

View file

@ -112,8 +112,8 @@ function ProjectBase::_onProjectOpen( %this, %data )
setCurrentDirectory( %this.gamePath );
// Set ^game expando
se" @ $TorqueScriptFileExtension @ "PathExpando("project", %this.gamePath );
se" @ $TorqueScriptFileExtension @ "PathExpando("game", %this.gamePath @ "/game" );
setScriptPathExpando("project", %this.gamePath );
setScriptPathExpando("game", %this.gamePath @ "/game" );
%this.onProjectOpen( %data );
%this.setActive();