mirror of
https://github.com/DarwinAnim8or/DarkflameServerNostalgiaMax.git
synced 2026-01-09 23:30:18 -06:00
10 lines
283 B
C++
10 lines
283 B
C++
#include "AgDarklingMech.h"
|
|
#include "DestroyableComponent.h"
|
|
|
|
void AgDarklingMech::OnStartup(Entity *self) {
|
|
auto* destroyableComponent = self->GetComponent<DestroyableComponent>();
|
|
if (destroyableComponent != nullptr) {
|
|
destroyableComponent->SetFaction(4);
|
|
}
|
|
}
|