mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 23:59:30 +00:00
Console Refactor
This commit is contained in:
parent
626de074cc
commit
89b0c7f73b
89 changed files with 1883 additions and 1553 deletions
|
|
@ -31,8 +31,9 @@
|
|||
#include "T3D/gameBase/gameProcess.h"
|
||||
#include "T3D/player.h"
|
||||
#include "math/mathUtils.h"
|
||||
#include "console/compiler.h"
|
||||
|
||||
#include "console/engineAPI.h"
|
||||
#include "console/script.h"
|
||||
|
||||
#include "afx/afxChoreographer.h"
|
||||
#include "afx/afxSelectron.h"
|
||||
|
|
@ -672,7 +673,7 @@ DefineEngineFunction(wasSyntaxError, bool, (),,
|
|||
"for detecting syntax errors after reloading a script.\n\n"
|
||||
"@ingroup AFX")
|
||||
{
|
||||
return Compiler::gSyntaxError;
|
||||
return Con::getLastEvalResult().valid == false;
|
||||
}
|
||||
|
||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue