From 0e48cee0d6e0a48253f77c2207e311e46d14d82d Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 29 Jan 2019 17:12:04 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=98=EC=95=BC=20=EC=9E=84=EA=B4=80?= =?UTF-8?q?=EC=8B=9C=20=EA=B6=8C=ED=95=9C=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func.php | 2 +- hwe/func_process_personnel.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hwe/func.php b/hwe/func.php index 56f81ec6..d41e1988 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -2560,7 +2560,7 @@ function deleteNation($general) { $oldNation['aux'] = Json::decode($oldNation['aux']); // 전 장수 재야로 // 전 장수 소속 무소속으로 - $query = "update general set belong=0,troop=0,level=0,nation=0,makelimit=12 where nation='{$general['nation']}'"; + $query = "update general set belong=0,troop=0,level=0,nation=0,permission='normal',makelimit=12 where nation='{$general['nation']}'"; MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); // 도시 공백지로 $query = "update city set nation=0,front=0,gen1=0,gen2=0,gen3=0 where nation='{$general['nation']}'"; diff --git a/hwe/func_process_personnel.php b/hwe/func_process_personnel.php index f4ed7e0c..2971e140 100644 --- a/hwe/func_process_personnel.php +++ b/hwe/func_process_personnel.php @@ -243,6 +243,7 @@ function process_25(&$general) { 'nation'=>$nation['nation'], 'nations'=>Json::encode($joinedNations), 'level'=>1, + 'permission'=>'normal', 'experience'=>$db->sqleval('experience + %i', $exp), 'city'=>$king['city'], 'belong'=>1