mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-08 00:58:26 +00:00
Remove shared pointer, ODR of componentType variable
This commit is contained in:
@@ -10,7 +10,7 @@ SwitchComponent::SwitchComponent(Entity* parent) : Component(parent) {
|
||||
|
||||
m_ResetTime = m_OwningEntity->GetVarAs<int32_t>(u"switch_reset_time");
|
||||
|
||||
m_Rebuild = m_OwningEntity->GetSharedComponent<RebuildComponent>();
|
||||
m_Rebuild = m_OwningEntity->GetComponent<RebuildComponent>();
|
||||
}
|
||||
|
||||
SwitchComponent::~SwitchComponent() {
|
||||
|
||||
Reference in New Issue
Block a user