PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionSCIsChallenge.lua
2024-09-01 22:49:41 +02:00

14 lines
No EOL
383 B
Lua

local XRedPointConditionSCIsChallenge = {}
function XRedPointConditionSCIsChallenge.Check()
local sameColorGameManager = XDataCenter.SameColorActivityManager
if not sameColorGameManager.GetIsOpen() then
return false
end
if sameColorGameManager.IsShowChallengable() then
return true
end
return false
end
return XRedPointConditionSCIsChallenge