버그 수정

This commit is contained in:
2020-03-28 19:56:11 +09:00
parent 9a67ac7509
commit 6f47e92050
7 changed files with 8 additions and 857 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ class RaiseInvader extends \sammo\Event\Action{
order by rand() limit 1', $nation, $oldCapital);
$db->update('nation', ['capital'=>$newCapital], 'nation=%i', $nation);
$db->update('general', ['city'=>$newCapital], 'nation=%i and city=%i', $nation, $city);
$db->update('general', ['city'=>$newCapital], 'nation=%i and city=%i', $nation, $oldCapital);
}
$generals = [];