Opened 10 years ago
Closed 5 years ago
#2803 closed defect (duplicate)
Gamesetup should have a clean way to reset map settings
Reported by: | serveurix | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Go in the match setup screen. Choose "Scenario" > a circular map like "Battle for the Tiber". Than select an other map in scenarios, square this time, like "Fast Oasis". Launch the match.
http://pix.toile-libre.org/upload/original/1410803422.png
Congratulations, your square map is now round ! \o/
Reveal the map via the dev overlay, for fun :
http://pix.toile-libre.org/upload/original/1410803491.png
Your unusable civ center has disappeared ! \o/ You can make it reappear at any time by reactivating the fog of war. But you can't destroy it, it is in the fog of war. _o_ You've got to wait for an enemy to liberate you. Or resign.
Change History (6)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Summary: | Square map turned into circular map → We should have a clean way to reset map settings |
---|
The problem was analogous to #2793. Some maps do not define some settings (usually because they use the default), but these are not reset in gamesetup.js. The problem is that the settings object contains settings defined at different level and there is no way to know which ones have been set by the previous maps. In this fix and the one from #2793, the faulty settings have been reset by hand, but we should have a way to determine which one have to be reset.
comment:6 by , 5 years ago
Component: | Core engine → UI & Simulation |
---|---|
Description: | modified (diff) |
Milestone: | Backlog |
Resolution: | → duplicate |
Status: | new → closed |
Summary: | We should have a clean way to reset map settings → Gamesetup should have a clean way to reset map settings |
Closing as duplicate of #2803 since that contains a bit more information/desparation.
In 15757: