오타 수정
This commit is contained in:
@@ -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 = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user