mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Fully re-implemented initialize
This commit is contained in:
@@ -12,5 +12,6 @@ void AgStromlingProperty::OnStartup(Entity* self) {
|
||||
4
|
||||
};
|
||||
|
||||
self->AddComponent<MovementAIComponent>(movementInfo);
|
||||
auto* movementAiComponent = self->AddComponent<MovementAIComponent>(0U);
|
||||
if (movementAiComponent) movementAiComponent->SetMoveInfo(movementInfo);
|
||||
}
|
||||
|
Reference in New Issue
Block a user