template index file review

remove redundant referenes to $TorqueScriptFileExtension. exec and queueExec both handle those internaly.
as pointed out in #511, we were already executing the guimusicpayer.gui in the ut.tscript module via queue. as that case allows folks to bolt a true at the end of the method to override the file-call and replace it with a personalized variant in another module, removed the redundant exec
This commit is contained in:
AzaezelX 2021-07-20 11:02:38 -05:00
parent 18a7e31991
commit c640d8823d
4 changed files with 20 additions and 27 deletions

View file

@ -16,7 +16,7 @@ function gameUI::initClient(%this)
{
//guis
%this.queueExec("./GUIs/playGui.gui");
%this.queueExec("./GUIs/playGui." @ $TorqueScriptFileExtension);
%this.queueExec("./GUIs/playGui");
}
function gameUI::onCreateClientConnection(%this){}