city의 officer를 general로 이동

This commit is contained in:
Hide_D committed 2020-04-18 03:57:58 +09:00
1 parent b8c28e0a89
commit 16f2c9fb42
98 files changed
+680 -889

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ class che_이동 extends Command\GeneralCommand{
$general->setVar('city', $destCityID);
if($general->getVar('level') == 12 && $this->nation['level'] == 0){
if($general->getVar('officer_level') == 12 && $this->nation['level'] == 0){
$generalList = $db->queryFirstColumn('SELECT no FROM general WHERE nation=%i AND no!=%i', $general->getNationID(), $general->getID());
if($generalList){
$db->update('general', [