triplea-game / triplea

TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
https://triplea-game.org/
GNU General Public License v3.0
1.34k stars 399 forks source link

No surface warship objective confused by land units on transport #4347

Closed simon33-2 closed 5 years ago

simon33-2 commented 5 years ago

Engine version

1.9 - 12640, 1.9 - 9687

Works properly in build 3635

My Operating System

Ubuntu

Map name

World War II Global 2nd Edition.

Can you describe how to trigger the error? (eg: what sequence of actions will recreate it?)

Put a UK transport in the med and no surface warship. If there is a land unit on the transport, the Italians don't get the 5IPC bonus for having no enemy surface warships. However, they do get it if you remove the on board unit from the transport.

Perhaps this went wrong with #1930?

Do you have the exact error text? Please copy/paste if so

Instead of this error, what should have happened?

Objective should be granted regardless of land units on board the transport.

Any additional information that may help