국적 변경시 permission 초기화

This commit is contained in:
2019-01-25 20:30:02 +09:00
parent 358ec17c61
commit 6a928cd83a
5 changed files with 8 additions and 1 deletions
+2
View File
@@ -776,6 +776,7 @@ function checkMerge() {
$db->update('general', [
'nation'=>0,
'permission'=>'normal',
], 'nation=%i AND npc = 5', $me['nation']);
$query = "delete from nation where nation='{$me['nation']}'";
@@ -922,6 +923,7 @@ function checkSurrender() {
$db->update('general', [
'nation'=>0,
'permission'=>'normal',
], 'nation=%i AND npc = 5', $me['nation']);
$query = "delete from nation where nation='{$me['nation']}'";