Skip to content

Commit 8c63973

Browse files
committed
fix right click to add tanks in new battle
1 parent 57ef780 commit 8c63973

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Basescape/CraftEquipmentState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ void CraftEquipmentState::moveRightByValue(int change)
538538

539539
int baseQty = _base->getStorageItems()->getItem(ammo->getType()) / ammoPerVehicle;
540540
if (_game->getSavedGame()->getMonthsPassed() == -1)
541-
baseQty = 1;
541+
baseQty = change;
542542
int canBeAdded = std::min(change, baseQty);
543543
if (canBeAdded > 0)
544544
{

0 commit comments

Comments
 (0)