Browse Source

Update console.h

marauder2k7 8 months ago
parent
commit
b54ed77f7a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Engine/source/console/console.h

+ 3 - 0
Engine/source/console/console.h

@@ -175,6 +175,9 @@ public:
 
 
    ConsoleValue(const ConsoleValue& ref)
    ConsoleValue(const ConsoleValue& ref)
    {
    {
+      type = ConsoleValueType::cvSTEntry;
+      s = const_cast<char*>(StringTable->EmptyString());
+
       switch (ref.type)
       switch (ref.type)
       {
       {
       case cvNULL:
       case cvNULL: