diff --git a/Engine/source/console/consoleFunctions.cpp b/Engine/source/console/consoleFunctions.cpp index 31a857943..d2f5df6fc 100644 --- a/Engine/source/console/consoleFunctions.cpp +++ b/Engine/source/console/consoleFunctions.cpp @@ -2859,7 +2859,7 @@ const char* getDocsLink(const char* filename, U32 lineNumber) String baseUrL = String(Con::getVariable("Pref::DocURL","https://github.com/TorqueGameEngines/Torque3D/blob/development/Engine/source")); String URL = String("docs"); - return (new String(URL))->c_str(); + return StringTable->insert(URL.c_str()); } bool getDocsURL(void* obj, const char* array, const char* data)