diff --git a/hwe/func_process_sabotage.php b/hwe/func_process_sabotage.php index d686e107..d7f3b56b 100644 --- a/hwe/func_process_sabotage.php +++ b/hwe/func_process_sabotage.php @@ -360,7 +360,7 @@ function process_33(&$general) { $rice = Util::randRangeInt(GameConst::$sabotageDamageMin, GameConst::$sabotageDamageMax) * $destCity['level']; if($destCity['supply']){ - [$destNationGold, $destNationRice] = $db->queryFirstList('SELECT gold,rice FROM nation WHERE nation=%i', $destCityID); + [$destNationGold, $destNationRice] = $db->queryFirstList('SELECT gold,rice FROM nation WHERE nation=%i', $destNationID); $destNationGold -= $gold; $destNationRice -= $rice;