Skip to content

Music does not pick a random track on load/start #634

Description

@dalerank

Summary

On load/start, music always picks the same track for a given population; Vanilla stops current track and plays a different random one.

Reported

Music track stops in vanilla when you load a save or start a game, and plays a different random track (Akhenaten always plays the same track?).

Code notes

  • music_update() in src/sound/music.cpp selects by enemy count / population thresholds from music.js — no randomization.
  • Pop < 1000 → always city_1.
  • Save load (non-briefing) calls g_sound.music_update(true) (�oilerplate.cpp).

Expected

On mission start / save load, stop current music and pick a different random city track (Vanilla behavior).

Labels

bug, gameplay

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggameplay

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions