Corrected faction for Buff Station

This commit is contained in:
EmosewaMC 2022-03-30 18:25:32 -07:00
parent ff9d736073
commit b79ebf1d40

View File

@ -9,7 +9,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
if (destroyableComponent != nullptr) destroyableComponent->SetFaction(6);
if (destroyableComponent != nullptr) destroyableComponent->SetFaction(1);
auto skillComponent = self->GetComponent<SkillComponent>();