Merge pull request #752 from Flamanis/disable-resource-breakdowns

Disable resource breakdowns
This commit is contained in:
Tercio Jose
2024-06-09 11:08:42 -03:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -1227,6 +1227,8 @@ end
function atributo_energy:MontaDetalhesRegenRecebido (nome, barra)
if true then return end
reset_tooltips_table()
local barras = breakdownWindowFrame.barras3
+2 -1
View File
@@ -1961,7 +1961,8 @@ local lineScript_Onmouseup = function(self, button)
if (self.mouse_down and (self.mouse_down+0.4 > GetTime() and (x == self.x and y == self.y)) or (x == self.x and y == self.y)) then
if (self.button == "LeftButton" or self.button == "MiddleButton") then
if (instanceObject.atributo == 5 or bIsShiftDown) then
--Temporary disabling of Resource breakdowns since not implemented
if (instanceObject.atributo == 5 or instanceObject.atributo == 3 or bIsShiftDown) then
--report
if (instanceObject.atributo == 5 and bIsShiftDown) then
local custom = instanceObject:GetCustomObject()