Correct customProfiles.cs execution.

This removes a duplicate and erroneous attempt to load the customProfiles.cs script.  Also added additional commentary to note that this file is the default save location when using the Gui Editor to create GuiProfiles.
Also fixes a problem where the Empty Template was not loading customProfiles.cs
This commit is contained in:
thecelloman 2013-04-09 06:01:53 -04:00
parent 1ed1a41256
commit 67de30b0e1
6 changed files with 40 additions and 9 deletions

View file

@ -60,6 +60,11 @@ function initClient()
$Client::GameTypeQuery = $appName;
$Client::MissionTypeQuery = "Any";
// These should be game specific GuiProfiles. Custom profiles are saved out
// from the Gui Editor. Either of these may override any that already exist.
exec("art/gui/gameProfiles.cs");
exec("art/gui/customProfiles.cs");
// The common module provides basic client functionality
initBaseClient();