serilaization on faction adding

This commit is contained in:
Aaron Kimbre 2023-12-23 14:37:23 -06:00
parent 393c87e671
commit 43c18a2258

View File

@ -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(