diff --git a/source/simulation2/system/ComponentManager.cpp b/source/simulation2/system/ComponentManager.cpp
index d035c6f..04adb47 100644
a
|
b
|
void CComponentManager::Script_RegisterComponentType(ScriptInterface::CxPrivate*
|
170 | 170 | else |
171 | 171 | { |
172 | 172 | // Component type is already loaded, so do hotloading: |
173 | | |
| 173 | /* |
174 | 174 | if (!componentManager->m_CurrentlyHotloading) |
175 | 175 | { |
176 | 176 | componentManager->m_ScriptInterface.ReportError("Registering component type with already-registered name"); // TODO: report the actual name |
177 | 177 | return; |
178 | 178 | } |
179 | | |
| 179 | */ |
180 | 180 | const ComponentType& ctPrevious = componentManager->m_ComponentTypesById[cid]; |
181 | 181 | |
182 | 182 | // We can only replace scripted component types, not native ones |
… |
… |
void CComponentManager::Script_RegisterComponentType(ScriptInterface::CxPrivate*
|
301 | 301 | } |
302 | 302 | } |
303 | 303 | } |
| 304 | |
| 305 | CComponentManager::Script_RegisterGlobal(pCxPrivate, cname, ctor); |
304 | 306 | } |
305 | 307 | |
306 | 308 | void CComponentManager::Script_RegisterInterface(ScriptInterface::CxPrivate* pCxPrivate, std::string name) |