This commit is contained in:
Leshyi committed 2026-11-29 19:48:57 +05:00
1 parent 82eecfda06
commit bdf5eca81f
10 files changed
+287 -94

No files matched your search

+1 -1
View File
@@ -361,7 +361,7 @@ local function refreshCapture()
local match = activeState()
local phase = match:GetAttribute("HotPointPhase") :: string?
local team = player:GetAttribute("ArenaTeam")
if not phase or (team ~= "Blue" and team ~= "Orange") or match:GetAttribute("Phase") ~= "Round"
if player:GetAttribute("InArena") ~= true or not phase or (team ~= "Blue" and team ~= "Orange") or match:GetAttribute("Phase") ~= "Round"
or match:GetAttribute("Ruleset") ~= "HotPoint" then
if captureTween then captureTween:Cancel(); captureTween = nil end
captureHud.Visible, captureTeam, capturePercent = false, nil, 0