public override void Notify_WarIsStarted(War war) { base.Notify_WarIsStarted(war); if (WarUtility.WarWithPlayer(war)) { EndComp(); } }
public void Notify_WarIsStarted(War war) { if (!InWars.Contains(war)) { InWars.Add(war); QuestsManager.Communications.Components.ForEach(x => x.Notify_WarIsStarted(war)); if (WarUtility.WarWithPlayer(war)) { var nonAgressive = GetOption <CommOption_NonAgressionPact>(); if (nonAgressive != null) { nonAgressive.Signed = false; } } } }