Changeset 666 for trunk/Direct.pas


Ignore:
Timestamp:
Jul 9, 2025, 10:36:23 PM (17 hours ago)
Author:
chronos
Message:
  • Added: Music volume option in game settings form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r664 r666  
    135135        Background.Update;
    136136      end;
    137       MusicPlayer.LoadPlaylistFromDir(GetMusicDir);
    138       MusicPlayer.RandomizePlaylist;
    139       if MusicPlayer.Playlist.Count > 0 then MusicPlayer.Play;
     137      if MusicEnabled then begin
     138        MusicPlayer.LoadPlaylistFromDir(GetMusicDir);
     139        MusicPlayer.RandomizePlaylist;
     140        if MusicPlayer.Playlist.Count > 0 then MusicPlayer.Play;
     141      end;
    140142    end;
    141143    ntStartGo, ntStartGoRefresh, ntStartGoRefreshMaps:
Note: See TracChangeset for help on using the changeset viewer.