general_turn, nation_turn 대응

This commit is contained in:
2018-11-26 01:32:42 +09:00
parent 2c193e7e48
commit 7a1c8882e6
8 changed files with 65 additions and 3 deletions
+1
View File
@@ -1983,6 +1983,7 @@ function deleteNation(General $general) {
'data'=>Json::encode($oldNation)
]);
$db->delete('nation', 'nation=%i', $nationID);
$db->delete('nation_turn', 'nation_id=%i', $nationID);
// 외교 삭제
$db->delete('diplomacy', 'me = %i OR you = %i', $nationID, $nationID);