diff --git a/erepublik/__init__.py b/erepublik/__init__.py index de1f3af..16302e6 100644 --- a/erepublik/__init__.py +++ b/erepublik/__init__.py @@ -5,7 +5,7 @@ __author__ = """Eriks Karls""" __email__ = 'eriks@72.lv' __version__ = '0.20.1.4' -__commit_id__ = "ed96143" +__commit_id__ = "a873d22" from erepublik import classes, utils from erepublik.citizen import Citizen diff --git a/erepublik/citizen.py b/erepublik/citizen.py index 8daced3..0c21f6e 100644 --- a/erepublik/citizen.py +++ b/erepublik/citizen.py @@ -1701,6 +1701,8 @@ class CitizenMilitary(CitizenTravel): count = 1 has_traveled = False battle = self.all_battles.get(battle_id) + if battle.is_rw: + self._rw_choose_side(battle.id, battle.invader.id if inv_side else battle.defender.id) if inv_side: good_countries = [battle.invader.id] + battle.invader.deployed if self.details.current_country not in good_countries: