Merging spells with the same name in the Player Breakdown Window

This commit is contained in:
Tercio Jose
2022-11-30 14:55:33 -03:00
parent 2dff960030
commit 8a3302d83e
4 changed files with 64 additions and 19 deletions
+2 -1
View File
@@ -305,7 +305,8 @@ function TimeBarMetaFunctions:SetTimer(currentTime, startTime, endTime)
self.statusBar.startTime = startTime
self.statusBar.endTime = endTime
else
if (self.statusBar.hasTimer and currentTime == self.statusBar.timeLeft2) then
local bForceNewTimer = type(startTime) == "boolean" and startTime
if (self.statusBar.hasTimer and currentTime == self.statusBar.timeLeft2 and not bForceNewTimer) then
--it is the same timer called again
return
end