mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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);
|
%minutes = mFloor(%seconds / 60);
|
||||||
%seconds -= %minutes * 60;
|
%seconds -= %minutes * 60;
|
||||||
%message = "Built NavMesh" SPC getWord(%data, 0) SPC "in" SPC %minutes @ "m" SPC mRound(%seconds) @ "s";
|
%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");
|
sfxPlayOnce(Audio2D, "tools/navEditor/done.wav");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,6 @@ function initializeNavEditor()
|
||||||
exec("./NavEditor.cs");
|
exec("./NavEditor.cs");
|
||||||
exec("./NavEditorGui.gui");
|
exec("./NavEditorGui.gui");
|
||||||
exec("./NavEditorToolbar.gui");
|
exec("./NavEditorToolbar.gui");
|
||||||
exec("./NavEditorGui.cs");
|
|
||||||
exec("./NavEditorAboutDlg.gui");
|
|
||||||
exec("./NavEditorConsoleDlg.gui");
|
exec("./NavEditorConsoleDlg.gui");
|
||||||
exec("./CreateNewNavMeshDlg.gui");
|
exec("./CreateNewNavMeshDlg.gui");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ function NavEditorConsoleListener::onNavMeshUpdate(%this, %data)
|
||||||
%minutes = mFloor(%seconds / 60);
|
%minutes = mFloor(%seconds / 60);
|
||||||
%seconds -= %minutes * 60;
|
%seconds -= %minutes * 60;
|
||||||
%message = "Built NavMesh" SPC getWord(%data, 0) SPC "in" SPC %minutes @ "m" SPC mRound(%seconds) @ "s";
|
%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");
|
sfxPlayOnce(Audio2D, "tools/navEditor/done.wav");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,6 @@ function initializeNavEditor()
|
||||||
exec("./NavEditor.cs");
|
exec("./NavEditor.cs");
|
||||||
exec("./NavEditorGui.gui");
|
exec("./NavEditorGui.gui");
|
||||||
exec("./NavEditorToolbar.gui");
|
exec("./NavEditorToolbar.gui");
|
||||||
exec("./NavEditorGui.cs");
|
|
||||||
exec("./NavEditorAboutDlg.gui");
|
|
||||||
exec("./NavEditorConsoleDlg.gui");
|
exec("./NavEditorConsoleDlg.gui");
|
||||||
exec("./CreateNewNavMeshDlg.gui");
|
exec("./CreateNewNavMeshDlg.gui");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue