diff --git a/src/hooks/others.cpp b/src/hooks/others.cpp index 645d4a53..23689022 100644 --- a/src/hooks/others.cpp +++ b/src/hooks/others.cpp @@ -593,8 +593,8 @@ void FrameStageNotify_hook(void *_this, int stage) { if (nightmode) { - static bool OldNightmode; - if (OldNightmode != (int) nightmode) + static int OldNightmode = 0; + if (OldNightmode != (int)nightmode) { static ConVar *r_DrawSpecificStaticProp =