mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 10:34:31 +00:00
fix: clear all remaining village troops when conquering a village
Closes #269
This commit is contained in:
@@ -4029,7 +4029,7 @@ class MYSQLi_DB implements IDbConnection {
|
||||
$j = '1';
|
||||
for($i = $start; $i <= $end; $i++) {
|
||||
$this->modifyEnforce($id, $i, $data['t' . $j . ''], 1);
|
||||
$this->modifyEnforce($id, $i, ${dead.$j}, 0);
|
||||
$this->modifyEnforce($id, $i, ${'dead'.$j}, 0);
|
||||
$j++;
|
||||
}
|
||||
$this->modifyEnforce($id,'hero',$data['t11'],1);
|
||||
|
||||
Reference in New Issue
Block a user