diff --git a/src/SecExp/SecExpBackwardCompatibility.tw b/src/SecExp/SecExpBackwardCompatibility.tw index 17b38dcb25ba54c9955115271c3d74ccc42ef305..7e471b4611ababd3632a30b55244bb0eae7da7ca 100644 --- a/src/SecExp/SecExpBackwardCompatibility.tw +++ b/src/SecExp/SecExpBackwardCompatibility.tw @@ -43,6 +43,7 @@ <<if ndef $lastAttackWeeks>> <<set $lastAttackWeeks = 0>> <</if>> +<<set $lastRebellionWeeks = Number($lastRebellionWeeks) || 0>> <<if ndef $hasFoughtOnce>> <<set $hasFoughtOnce = 0>> <</if>> diff --git a/src/SecExp/secInit.tw b/src/SecExp/secInit.tw index 84654fea324a557daadaa58dc5aa99f3cf083d91..39fea547054bf9aa89b5b95573c7bb9167522896 100644 --- a/src/SecExp/secInit.tw +++ b/src/SecExp/secInit.tw @@ -14,6 +14,7 @@ <<set $attackType = "none">> <<set $attackThisWeek = 0>> <<set $lastAttackWeeks = 0>> +<<set $lastRebellionWeeks = 0>> <<set $hasFoughtOnce = 0>> <<set $hasFoughtMajorBattleOnce = 0>> <<set $hasRebelledOnce = 0>>