mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
integrate screen variables
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Twitch
|
||||
static bool IsTwitchEnabled()
|
||||
{
|
||||
if (!gTwitchEnable) return false;
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & (~SCREEN_FLAGS_PLAYING)) return false;
|
||||
if (gScreenFlags & (~SCREEN_FLAGS_PLAYING)) return false;
|
||||
if (String::IsNullOrEmpty(gConfigTwitch.channel)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user