Browse Source

Merge pull request #705 from andr3wmac/ConsoleReturnFix

Fix for unexpected behavior described in issue #704
Daniel Buckmaster 11 years ago
parent
commit
376db9e097
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Engine/source/console/compiledEval.cpp

+ 1 - 0
Engine/source/console/compiledEval.cpp

@@ -1594,6 +1594,7 @@ breakContinue:
 
                   Con::warnf(ConsoleLogEntry::General,"%s: Unable to find object: '%s' attempting to call function '%s'", getFileLine(ip-4), callArgv[1], fnName);
                   STR.popFrame();
+                  STR.setStringValue("");
                   break;
                }