mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:29:00 +00:00
checkrefs.py only traced music files referenced in civ JSON Music[] arrays. Two additional sources were missed: - gui/common/music.js DEFAULT_*_TRACKS prototype arrays define fallback playlists used when a civ has no music entries. All .ogg filenames found in that file are now added as deps of the music.js root. - simulation/data/cheats/*.json files can reference audio files via Data.DefaultParameter (e.g. retroMe.json -> 0_8Bit_Bonus_Track.ogg). These are now tracked as deps of each cheat root. Fixes 10 false-positive unused-file warnings.