오타 수정

This commit is contained in:
2018-03-28 06:07:32 +09:00
parent fad29e3faf
commit 89c45421d8
+1 -1
View File
@@ -62,7 +62,7 @@ class RaiseInvader extends sammo\Event\Action{
order by rand() limit 1', $nation, $oldCapital); order by rand() limit 1', $nation, $oldCapital);
$db->update('nation', ['capital'=>$newCapital], 'nation=%i', $nation); $db->update('nation', ['capital'=>$newCapital], 'nation=%i', $nation);
$db->update('generals', ['city'=>$newCapital], 'nation=%i and city=%i', $nation, $city); $db->update('general', ['city'=>$newCapital], 'nation=%i and city=%i', $nation, $city);
} }
$generals = []; $generals = [];