diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index b5cf8947..9e484080 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -94,7 +94,7 @@ class WarUnitGeneral extends WarUnit{ } function addAtmos(int $atmos){ - $this->increaseVarWithLimit('atmos', $train, 0, GameConst::$maxAtmosByWar); + $this->increaseVarWithLimit('atmos', $atmos, 0, GameConst::$maxAtmosByWar); } function getComputedTrain(){