mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Update guiConsoleTextCtrl.cpp
Removed redundant assignment.
This commit is contained in:
parent
87bb479c8c
commit
a22672dd7a
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ void GuiConsoleTextCtrl::onPreRender()
|
||||||
{
|
{
|
||||||
if ( mConsoleExpression.isNotEmpty() )
|
if ( mConsoleExpression.isNotEmpty() )
|
||||||
{
|
{
|
||||||
mResult = Con::evaluatef( "$guiConsoleTextCtrlTemp = %s;", mConsoleExpression.c_str() );
|
Con::evaluatef( "$guiConsoleTextCtrlTemp = %s;", mConsoleExpression.c_str() );
|
||||||
|
|
||||||
//Fixes a bug with the above not always grabbing the console text.
|
//Fixes a bug with the above not always grabbing the console text.
|
||||||
mResult = Con::getVariable("$guiConsoleTextCtrlTemp");
|
mResult = Con::getVariable("$guiConsoleTextCtrlTemp");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue