mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 15:37:20 +00:00
Better log and comment
This commit is contained in:
parent
326c495776
commit
b2fee29ee0
@ -499,7 +499,7 @@ void Entity::Initialize() {
|
||||
case eReplicaComponentType::NUMBER_OF_COMPONENTS:
|
||||
case eReplicaComponentType::INVALID:
|
||||
default:
|
||||
Game::logger->Log("Entity", "blah %i %i", componentId, m_TemplateID);
|
||||
Game::logger->Log("Entity", "Attempted to create component %i for lot %i but no creator exists. Component will not be created.", componentId, m_TemplateID);
|
||||
}
|
||||
}
|
||||
|
||||
@ -510,7 +510,7 @@ void Entity::Initialize() {
|
||||
});
|
||||
});
|
||||
|
||||
// Load data specific to this LOT first
|
||||
// Load data specific to this LOT first. These act as defaults for the components.
|
||||
std::for_each(m_Components.begin(), m_Components.end(), [this](auto& component) {
|
||||
component.second->LoadTemplateData();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user