#2071 closed defect (fixed)
Filters with no maps cause problems in match setup
Reported by: | fabio | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 14 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Select:
- Match type: Random
- Map Filter: Old Maps
- Select Map: Random
Then start game -> an error appear.
Ideally filters should only appear if at least a true map (different from Random) is available.
Change History (5)
comment:1 by , 11 years ago
Component: | Core engine → UI & Simulation |
---|---|
Priority: | Should Have → Nice to Have |
Summary: | error when using 'Random' Random map and a filter with no maps → Filters with no maps cause problems in match setup |
comment:4 by , 10 years ago
Milestone: | Backlog → Alpha 14 |
---|
comment:5 by , 6 years ago
Description: | modified (diff) |
---|
In r19773 by Imarok:
Gamesetup - Hide mapfilter option if there are no maps matching the filter
Reviewed by: elexis. Fixes: #4423. Differential Revision: https://code.wildfiregames.com/D365
Note:
See TracTickets
for help on using tickets.
A similar bug occurs for scenarios, too.
Replying to fabio:
That is probably true, but it will take some restructuring of
gamesetup.js
. The filter list is loaded before the map list, and the filters are only tested when the map list is reloaded. For A14, we can simply remove the "Old Maps" filter since it doesn't apply to any maps in SVN and it's very unlikely anyone is playing such a map.