diff --git a/Separatism/Behaviours/LordRebellionBehaviour.cs b/Separatism/Behaviours/LordRebellionBehaviour.cs index 326dd5e..e54d535 100644 --- a/Separatism/Behaviours/LordRebellionBehaviour.cs +++ b/Separatism/Behaviours/LordRebellionBehaviour.cs @@ -27,6 +27,10 @@ private void OnDailyTickClan(Clan clan) } var kingdom = clan.Kingdom; + if (kingdom.RulingClan == null || kingdom.RulingClan.Leader == null) + { + return; + } var ruler = kingdom.Ruler(); if (clan.Leader != ruler)