버그 수정
This commit is contained in:
1 parent
8f95d4b279
commit
0087d5784b
7 files changed
+8
-857
No files matched your search
@@ -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 = [];
|
||||
|
||||
Reference in new issue
Block a user