mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-21 04:00:13 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
9
dScripts/AgDarklingMech.cpp
Normal file
9
dScripts/AgDarklingMech.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "AgDarklingMech.h"
|
||||
#include "DestroyableComponent.h"
|
||||
|
||||
void AgDarklingMech::OnStartup(Entity *self) {
|
||||
auto* destroyableComponent = self->GetComponent<DestroyableComponent>();
|
||||
if (destroyableComponent != nullptr) {
|
||||
destroyableComponent->SetFaction(4);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user