Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Damgam committed Mar 31, 2024
1 parent 23141e0 commit ebc1946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaMenu/widgets/snd_music_lite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function widget:Initialize()
end

for i = 1,1000 do
if (easterEggCountdown > 1 and tonumber(os.date("%m")) == 4 and tonumber(os.date("%d")) <= 3) or (easterEggCountdown > 10 and math.random(0,2137) == 0) then -- April Fools, with a very tiny chance to play the track on normal day
if (easterEggCountdown > 1 and tonumber(os.date("%m")) == 4 and tonumber(os.date("%d")) <= 2) or (easterEggCountdown > 5 and tonumber(os.date("%m")) == 4 and tonumber(os.date("%d")) <= 3 and tonumber(os.date("%H")) <= 6) or (easterEggCountdown > 10 and math.random(0,2137) == 0) then -- April Fools, with a very tiny chance to play the track on normal day
openTrack = aprilFoolsTrackList[math.random(1,#aprilFoolsTrackList)]
end
if openTrack then
Expand Down

0 comments on commit ebc1946

Please sign in to comment.