return overlay state as always not ready if it was disabled

This commit is contained in:
otavepto 2024-04-01 02:37:46 +02:00 committed by otavepto
parent 0672139f46
commit 7c0758c02d

View File

@ -1716,7 +1716,7 @@ void Steam_Overlay::UnSetupOverlay()
bool Steam_Overlay::Ready() const
{
return is_ready && late_init_imgui && late_init_ach_icons;
return !settings->disable_overlay && is_ready && late_init_imgui && late_init_ach_icons;
}
bool Steam_Overlay::NeedPresent() const