버그 수정

This commit is contained in:
2020-04-19 18:48:56 +09:00
parent c611e98cf7
commit 8d41dead5d
11 changed files with 90 additions and 60 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class WarUnitGeneral extends WarUnit{
function setOppose(?WarUnit $oppose){
parent::setOppose($oppose);
$general = $this->general;
$this->general->increaseVar('warnum', 1);
$this->general->increaseRankVar('warnum', 1);
if($this->isAttacker){
$general->updateVar('recent_war', $general->getTurnTime());