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
commit 3b128f6278
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

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

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()