Battle report error?
Closed this issue · 1 comments
lancer26 commented
// in BattleReport.php
// function getAfterBattlePlayerGroup
if (!$endFleet->existShipType($idShipType))
{
$endShipType = $shipType;
}
else
{
$endShipType = $endFleet->getShipType($idShipType);
$endShipType->increment($shipType->getCount());
}
// should be
$endFleet->add( $shipType);
jstar88 commented
oh thanks, you are in right. Fixed