mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-08 05:55:18 +00:00
Fix missing scripts and incorrect variable.
This commit is contained in:
parent
cb047bd7f0
commit
d7111bc851
4 changed files with 2 additions and 6 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue