Browse Source

Update console.h

az: stringtable insert for stentry
marauder2k7 8 months ago
parent
commit
338eaea786
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/console/console.h

+ 1 - 1
Engine/source/console/console.h

@@ -347,7 +347,7 @@ public:
    {
       //cleanupData();
       type = ConsoleValueType::cvSTEntry;
-      s = const_cast<char*>(val);
+      s = const_cast<char*>(StringTable->insert(val));
    }
 
    TORQUE_FORCEINLINE void setEmptyString()