Fix missing scripts and incorrect variable.

This commit is contained in:
Daniel Buckmaster 2015-01-29 21:23:16 +11:00
parent cb047bd7f0
commit d7111bc851
4 changed files with 2 additions and 6 deletions

View file

@ -137,7 +137,7 @@ function NavEditorConsoleListener::onNavMeshUpdate(%this, %data)
%minutes = mFloor(%seconds / 60);
%seconds -= %minutes * 60;
%message = "Built NavMesh" SPC getWord(%data, 0) SPC "in" SPC %minutes @ "m" SPC mRound(%seconds) @ "s";
if($Nav::Editor::playSoundWhenDone)
if(NavEditorGui.playSoundWhenDone)
{
sfxPlayOnce(Audio2D, "tools/navEditor/done.wav");
}

View file

@ -37,8 +37,6 @@ function initializeNavEditor()
exec("./NavEditor.cs");
exec("./NavEditorGui.gui");
exec("./NavEditorToolbar.gui");
exec("./NavEditorGui.cs");
exec("./NavEditorAboutDlg.gui");
exec("./NavEditorConsoleDlg.gui");
exec("./CreateNewNavMeshDlg.gui");

View file

@ -137,7 +137,7 @@ function NavEditorConsoleListener::onNavMeshUpdate(%this, %data)
%minutes = mFloor(%seconds / 60);
%seconds -= %minutes * 60;
%message = "Built NavMesh" SPC getWord(%data, 0) SPC "in" SPC %minutes @ "m" SPC mRound(%seconds) @ "s";
if($Nav::Editor::playSoundWhenDone)
if(NavEditorGui.playSoundWhenDone)
{
sfxPlayOnce(Audio2D, "tools/navEditor/done.wav");
}

View file

@ -37,8 +37,6 @@ function initializeNavEditor()
exec("./NavEditor.cs");
exec("./NavEditorGui.gui");
exec("./NavEditorToolbar.gui");
exec("./NavEditorGui.cs");
exec("./NavEditorAboutDlg.gui");
exec("./NavEditorConsoleDlg.gui");
exec("./CreateNewNavMeshDlg.gui");