浏览代码

Merge pull request #705 from andr3wmac/ConsoleReturnFix

Fix for unexpected behavior described in issue #704
Daniel Buckmaster 11 年之前
父节点
当前提交
376db9e097
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;
                }