correct the mission interface for mine and web mine laying when playing Crystals
Playing as the Crystals, when you get to the missions menu, you are presented with the '10 20 30 ... quarter half all' mine FC options twice in the lay mines mission, but not at all in the 'Lay web mines mission'
This means that you need to select the 'lay web mines' mission and adjust the FC manually, or select the '10 20 30 ... quarter half all' option in the normal 'lay mines' mission, and then change the mission to 'lay web mines'
It does not affect the functionality, but does make the interface a bit more awkward to use.
Could the second set of options be moved to the 'lay web mines' mission.
Fixed. Thanks for the code, Lord Helmet!
- big beefer
-
Lord Helmet commented
I think the problem is using #LayminesAmount twice, so the second time (webmines) it is just added to the already existing id above. My hack:
$("<div>" + mission.name + "<span>" + mission.desc + "<br/>Amount: <b id='LayminesAmount"+mission.id+"'></b></span></div>").tclick(select(mission.id)).appendTo("#OrdersScreen");
...
$("<a style='color:cyan;font-size: 10px;'>" + titles[j] + " </a>").tclick(mines(vals[j], mission.id)).appendTo("#LayminesAmount"+mission.id);