Closed Krazick closed 5 months ago
Fixed the Transfer Train Effect to run the 'train.clearSelection method in the ApplyEffect and UndoEffect Methods. Need to reset trains owned by the current Company so that if they were selected for upgrade, this is also reset to reshow the checkbox (it is currently removed).
The thought was once this was cleared, then on the UNDO it would show the Buy Checkbox (or Upgrade Checkbox in the Company's Set of Trains, but this was not resolved yet.
Having reworked the updating of the various ways buttons, and checkboxes were done for the Train Profiles, this issue looks to be resolved.
When a Corporation buys a Train (from Bank, Bank Pool, or another Corporation), the 'selected' state (Select CheckBox) should ALWAYS be Cleared. As well as when a Buy Train Action is Undone, this should be Cleared as well.
This should be done in the Clear Train Effect for applying and undoing the effect.