mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix buffer corruption.
This commit is contained in:
parent
6d93e96dc3
commit
27a4868b6e
4 changed files with 14 additions and 7 deletions
|
|
@ -2286,7 +2286,8 @@ DefineEngineStringlyVariadicFunction( call, const char *, 2, 0, "( string functi
|
|||
"@endtsexample\n\n"
|
||||
"@ingroup Scripting" )
|
||||
{
|
||||
return Con::execute( argc - 1, argv + 1 );
|
||||
ConsoleValue returnValue = Con::execute(argc - 1, argv + 1);
|
||||
return Con::getReturnBuffer(returnValue.getString());
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue