mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-28 08:27:22 +00:00
serilaization on faction adding
This commit is contained in:
parent
393c87e671
commit
43c18a2258
@ -804,6 +804,7 @@ void DestroyableComponent::SetFaction(int32_t factionID, bool ignoreChecks) {
|
|||||||
m_EnemyFactionIDs.clear();
|
m_EnemyFactionIDs.clear();
|
||||||
|
|
||||||
AddFaction(factionID, ignoreChecks);
|
AddFaction(factionID, ignoreChecks);
|
||||||
|
Game::entityManager->SerializeEntity(m_Parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DestroyableComponent::SetStatusImmunity(
|
void DestroyableComponent::SetStatusImmunity(
|
||||||
|
Loading…
Reference in New Issue
Block a user