mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Fixes some conversion mistakes in the scripts
This commit is contained in:
parent
9ccaa6d3ea
commit
c051a0357c
8 changed files with 17 additions and 17 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue