mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-09 06:39:23 -05:00
Origins: remove gem on musical parts HUD
Origins: add empty box for gem on musical parts scoreboard
This commit is contained in:
parent
37480ddda6
commit
7dddb0c7d2
@ -189,12 +189,12 @@ CoD.PersistentItemTombDisplay.PersistentIconUpdate = function(f5_arg0, f5_arg1)
|
|||||||
local f5_local2 = CoD.PersistentItemTombDisplay.GetCurrentStatusIndex(f5_arg0, CoD.PersistentItemTombDisplay.PersistentClientFieldName)
|
local f5_local2 = CoD.PersistentItemTombDisplay.GetCurrentStatusIndex(f5_arg0, CoD.PersistentItemTombDisplay.PersistentClientFieldName)
|
||||||
local f5_local3 = f5_arg0.statusIcons[f5_local2]
|
local f5_local3 = f5_arg0.statusIcons[f5_local2]
|
||||||
CoD.PersistentItemTombDisplay.GemStatusStates[CoD.PersistentItemTombDisplay.GetCurrentGemIndex(f5_local2)].currentState = f5_local0
|
CoD.PersistentItemTombDisplay.GemStatusStates[CoD.PersistentItemTombDisplay.GetCurrentGemIndex(f5_local2)].currentState = f5_local0
|
||||||
if not f5_local3 then
|
-- if not f5_local3 then
|
||||||
return
|
-- return
|
||||||
else
|
-- else
|
||||||
CoD.PersistentItemTombDisplay.UpdateQuestContainerAndTitle(f5_arg0, f5_arg1)
|
-- CoD.PersistentItemTombDisplay.UpdateQuestContainerAndTitle(f5_arg0, f5_arg1)
|
||||||
CoD.PersistentItemTombDisplay.UpdatePersistentGemIconStates(f5_local3, f5_local0)
|
-- CoD.PersistentItemTombDisplay.UpdatePersistentGemIconStates(f5_local3, f5_local0)
|
||||||
end
|
-- end
|
||||||
end
|
end
|
||||||
|
|
||||||
CoD.PersistentItemTombDisplay.ScoreboardUpdate = function(f6_arg0, f6_arg1)
|
CoD.PersistentItemTombDisplay.ScoreboardUpdate = function(f6_arg0, f6_arg1)
|
||||||
@ -273,7 +273,8 @@ CoD.PersistentItemTombDisplay.UpdatePersistentGemIconStates = function(f11_arg0,
|
|||||||
f11_arg0.icon:setAlpha(1)
|
f11_arg0.icon:setAlpha(1)
|
||||||
f11_arg0.icon:setImage(CoD.PersistentItemTombDisplay.GemClientFieldNames[f11_arg1].material)
|
f11_arg0.icon:setImage(CoD.PersistentItemTombDisplay.GemClientFieldNames[f11_arg1].material)
|
||||||
else
|
else
|
||||||
f11_arg0:setAlpha(0)
|
f11_arg0:setAlpha(1)
|
||||||
|
f11_arg0.icon:setAlpha(0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user