from retail

This commit is contained in:
NoM0Re
2025-01-17 18:59:10 +01:00
parent 89a247addb
commit efdbb3c46d
10 changed files with 107 additions and 28 deletions
+9 -3
View File
@@ -2381,9 +2381,11 @@ do
if (showgcd) then
if ((gcdStart or 0) + (gcdDuration or 0) > startTime + duration) then
if startTime == 0 then
gcdCooldown = true
end
startTime = gcdStart;
duration = gcdDuration;
gcdCooldown = true;
end
end
@@ -2403,9 +2405,11 @@ do
end
if (showgcd) then
if ((gcdStart or 0) + (gcdDuration or 0) > startTime + duration) then
if startTime == 0 then
gcdCooldown = true
end
startTime = gcdStart;
duration = gcdDuration;
gcdCooldown = true;
end
end
return startTime, duration, enabled, gcdCooldown;
@@ -2437,9 +2441,11 @@ do
if (showgcd) then
if ((gcdStart or 0) + (gcdDuration or 0) > startTime + duration) then
if startTime == 0 then
gcdCooldown = true
end
startTime = gcdStart;
duration = gcdDuration;
gcdCooldown = true;
end
end
return startTime, duration, enabled, gcdCooldown;