Explorar o código

Merge pull request #705 from andr3wmac/ConsoleReturnFix

Fix for unexpected behavior described in issue #704
Daniel Buckmaster %!s(int64=11) %!d(string=hai) anos
pai
achega
376db9e097
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
                }