Update ScriptSystem.cpp

Fix capitalization
This commit is contained in:
Derek "Turtle" Roe 2021-03-17 22:38:06 -05:00
parent ae24c9e1e4
commit e64c00b49e
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ void CScriptSystem::RunScript(const char * path)
{
CGuard guard(m_CS);
CScriptInstance* scriptInstance = new CScriptInstance(m_Debugger);
char* pathSaved = (char*)malloc(strlen(path)+1); // freed via DeleteStoppedInstances
char* pathSaved = (char*)malloc(strlen(path)+1); // Freed via DeleteStoppedInstances
strcpy(pathSaved, path);
m_RunningInstances.push_back({ pathSaved, scriptInstance });