diff --git a/code/client/launcher/UpdaterUI.cpp b/code/client/launcher/UpdaterUI.cpp index bc7d61c3dc..ccc45ab6f0 100644 --- a/code/client/launcher/UpdaterUI.cpp +++ b/code/client/launcher/UpdaterUI.cpp @@ -7,6 +7,7 @@ #include "StdInc.h" #include +#include #ifdef LAUNCHER_PERSONALITY_MAIN #include @@ -1384,7 +1385,12 @@ void UI_CreateWindow() { auto sc = ui.FindName(L"Overlay").as(); - if (_time64(NULL) < 1675206000) + auto time = std::time(nullptr); + auto datetime = std::localtime(&time); + auto month = datetime->tm_mon + 1; + + // Snow effect for December and January + if (month == 12 || month == 1) { InitializeRenderOverlay(sc, g_dpi.ScaleX(wwidth), g_dpi.ScaleY(wheight)); }