mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 21:47:24 +00:00
0545adfac3
Have fun!
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);
|
|
}
|
|
}
|