Browse Source

dial back a case of stringtable over use

AzaezelX 4 months ago
parent
commit
c7275300fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/console/torquescript/compiledEval.cpp

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

@@ -1722,7 +1722,7 @@ Con::EvalResult CodeBlock::exec(U32 ip, const char* functionName, Namespace* thi
          TORQUE_CASE_FALLTHROUGH;
          TORQUE_CASE_FALLTHROUGH;
 
 
       case OP_LOADIMMED_STR:
       case OP_LOADIMMED_STR:
-         stack[_STK + 1].setStringTableEntry(curStringTable + code[ip++]);
+         stack[_STK + 1].setString(curStringTable + code[ip++]);
          _STK ++;
          _STK ++;
          break;
          break;