전투 종료 코드 구현

This commit is contained in:
2018-08-20 22:20:59 +09:00
parent f188bc0d09
commit 3d28ef1386
4 changed files with 119 additions and 32 deletions
+1
View File
@@ -139,6 +139,7 @@ class WarUnitCity extends WarUnit{
}
$db->update('city', $updateVals, 'city=%i', $this->raw['city']);
$this->getLogger()->rollback(); //수비 도시의 로그는 기록하지 않음
return $db->affectedRows() > 0;
}