mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Clean up more evals that have local variables are not working correctly.
This commit is contained in:
parent
a30f64506f
commit
7556e403e7
6 changed files with 27 additions and 29 deletions
|
|
@ -205,7 +205,7 @@ function _TextPadOnOk()
|
|||
if(ScriptEditorDlg.callback !$= "")
|
||||
{
|
||||
%text = ScriptEditorDlg-->textpad.getText();
|
||||
%command = ScriptEditorDlg.callback @ "( %text );";
|
||||
%command = ScriptEditorDlg.callback @ "(\"" @ expandEscape(%text) @ "\");";
|
||||
eval(%command);
|
||||
}
|
||||
ScriptEditorDlg.callback = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue