국적 변경시 permission 초기화

This commit is contained in:
Hide_D committed 2019-01-25 20:30:02 +09:00
1 parent 82f59ef5a2
commit ffbf2d0a93
5 files changed
+8 -1

No files matched your search

+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']}'";