diff --git a/Engine/source/console/torquescript/astNodes.cpp b/Engine/source/console/torquescript/astNodes.cpp index 00e2d2d67..17d96c961 100644 --- a/Engine/source/console/torquescript/astNodes.cpp +++ b/Engine/source/console/torquescript/astNodes.cpp @@ -214,7 +214,7 @@ U32 IfStmtNode::compileStmt(CodeStream& codeStream, U32 ip) if (testType == TypeReqString || testType == TypeReqNone) { ip = testExpr->compile(codeStream, ip, TypeReqString); - codeStream.emit(OP_JMPSTRING); + codeStream.emit(OP_JMPNOTSTRING); } else {