Factories not destroyed when captured
I have a factory defined as follows:
<attachment name="unitAttachment" attachTo="factory" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"> <option name="isFactory" value="true"/> <option name="maxBuiltPerPlayer" value="3"/> <option name="destroyedWhenCapturedBy" value="Russians:Germans:British:Japanese:Americans"/> </attachment>
It is not getting destroyed when captured. I am doing something wrong?
@rogercooper When stuff is ineffective, that probably means it is enabled by a property you don't have true.
In this case, "Units Can Be Destroyed Instead Of Captured".
Thanks for the help. The xml option browser should be updated to reflect the dependency