DarkflameServer/dScripts/AgDarklingMech.cpp
2021-12-05 18:54:36 +01:00

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);
}
}