Commit 85b0e6cc authored by Aleksandr Bakhshiev's avatar Aleksandr Bakhshiev
Browse files

Now added: call Reset to component when component added to other component.

--HG--
branch : DataSrcs
parent d94e9463f1c0
......@@ -3224,6 +3224,7 @@ const char* UEngine::Model_AddComponent(const char* stringid, const char *classn
if(destcont->AddComponent(cont))
{
cont->Reset();
TempString=cont->GetName();
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment