Skip to content

Commit

Permalink
Merge pull request #851 from beyond-all-reason/oopsiefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Damgam authored Dec 10, 2024
2 parents 324b65d + 5e81921 commit 2f2acd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file not shown.
2 changes: 2 additions & 0 deletions LuaMenu/widgets/snd_music_lite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ local function GetRandomTrack(previousTrack)
elseif (previousTrackType == "peace" or (not peaceTrackList[1])) and introTrackList[1] then -- we're checking if there are any intro tracks
if math.random() <= 0.1 and (tonumber(os.date("%m")) == 4 and tonumber(os.date("%d")) == 1 and math.random() <= 0.25) then
nextTrack = aprilfoolsTrackList[math.random(#aprilfoolsTrackList)]
trackType = "intro"
elseif math.random() <= 0.1 and (tonumber(os.date("%m")) == 12 and tonumber(os.date("%d")) >= 12) then
nextTrack = xmasTrackList[math.random(#xmasTrackList)]
trackType = "intro"
else
trackType = "intro"
introTracksIndex = introTracksIndex + 1
Expand Down

0 comments on commit 2f2acd5

Please sign in to comment.