Skip to content

Fix for Random Music in Main Menu#345

Merged
themrdemonized merged 3 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Ncenka:all-in-one-vs2022-wpo
Aug 27, 2025
Merged

Fix for Random Music in Main Menu#345
themrdemonized merged 3 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Ncenka:all-in-one-vs2022-wpo

Conversation

@Ncenka
Copy link
Contributor

@Ncenka Ncenka commented Aug 25, 2025

I found that setting random="1" in ui_mm_main\menu_sound actually did nothing and it always played the last listed track. By adding this lines it fixes the issue.

@Ncenka
Copy link
Contributor Author

Ncenka commented Aug 25, 2025

Апдейт: Короче, суть в том что на момент вызова этого куска кода Random всегда будет равно 1 - CRandom() : holdrand(1) или типа того. Крч одно и тоже значение будет всегда.

@Ncenka
Copy link
Contributor Author

Ncenka commented Aug 26, 2025

UPD: Found better solution. Will commit it soon

@Ncenka
Copy link
Contributor Author

Ncenka commented Aug 26, 2025

Done. That's all.

@themrdemonized themrdemonized merged commit cadb71e into themrdemonized:all-in-one-vs2022-wpo Aug 27, 2025
9 of 10 checks passed
themrdemonized added a commit that referenced this pull request Jan 24, 2026
Fix for Random Music in Main Menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants