Repository navigation
fix(maps): Active Duty from the competitive template, not stale mg_active - #139
Merged
Merged
Conversation
…mg_active CS2's mg_active map group still lists Train, Overpass and Vertigo. The game's own play menu builds Active Duty from the map groups that are in the competitive template and tagged grouptype active. Parse that (in template order), skip lobby groups, and fall back to mg_active only when the template gives nothing. maps.json now lists cache, anubis, inferno, mirage, dust2, nuke and ancient. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CS2's
mg_activemap group in gamemodes.txt is stale (still Train, Overpass, Vertigo). The game's play menu builds its Active Duty quick-select from map groups with"grouptype" "active"; intersected with the competitive template (templates#include→competitive) that gives the real 7.ParseActiveDutyMapsreads competitive-template groups tagged active, in template order, skipping lobby groups (mg_lobby_mapveto). Falls back tomg_activewhen the template gives nothing.testdata/gamemodes_competitive.txt). Checked against the current pak01_dir.vpk gamemodes.txt: de_cache, de_anubis, de_inferno, de_mirage, de_dust2, de_nuke, de_ancient.map_thumbnails/maps.jsonactiveDuty regenerated to that list.🤖 Generated with Claude Code