mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
comment
This commit is contained in:
parent
b79ebf1d40
commit
041dc8256f
@ -8,7 +8,7 @@
|
||||
|
||||
void AgSurvivalBuffStation::OnRebuildComplete(Entity* self, Entity* target) {
|
||||
auto destroyableComponent = self->GetComponent<DestroyableComponent>();
|
||||
// We set the faction to 6 so that the buff station sees players as friendly targets to buff
|
||||
// We set the faction to 1 so that the buff station sees players as friendly targets to buff
|
||||
if (destroyableComponent != nullptr) destroyableComponent->SetFaction(1);
|
||||
|
||||
auto skillComponent = self->GetComponent<SkillComponent>();
|
||||
|
Loading…
Reference in New Issue
Block a user