city의 officer를 general로 이동
This commit is contained in:
@@ -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', [
|
||||
|
||||
Reference in New Issue
Block a user