SuperVillain UI

SuperVillain UI

279k Downloads

Craft O Matic lua erro

immortaltech opened this issue ยท 2 comments

commented

2x SVUI_CraftOMatic\SVUI_CraftOMatic-1.0.09.lua:452: Usage: PlaySound(soundKitID, optional["SFX","Music","Ambience", "Dialog" or "Master"], [forceNoDuplicates, runFinishCallback])
[C]: ?
SVUI_CraftOMatic\SVUI_CraftOMatic-1.0.09.lua:452: in function `EndJobModes'
SVUI_CraftOMatic\SVUI_CraftOMatic-1.0.09.lua:529: in function <SVUI_CraftOMatic\SVUI_CraftOMatic.lua:528>

Locals:
(*temporary) = "UndeadExploration"

This happens everytime i click the '' Click to exit '' button in the fishing mode

commented

@immortaltech are you using the latest version (either from curse/twitch or from here). if you are using the Curse/twitch version, please make sure you are only using This one

This was an issue we fixed shortly after 7.3 hit.
looks fine and can't replicate.

Section in question

function PLUGIN:EndJobModes()
for key,button in pairs(self.ToolBar.Buttons) do
button.currentColor = "icon";
button.icon:SetGradient(unpack(SV.media.gradient.icon));
button:SetAlpha(1);
end
if(currentModeKey and self[currentModeKey] and self[currentModeKey].Disable) then
self[currentModeKey].Disable()
end
currentModeKey = false;
--if self.Docklet:IsShown() then self.Docklet.Button:Click() end
self:ChangeModeGear()
self.ModeAlert:Hide();
SV:SCTMessage("Mode Disabled", 1, 0.35, 0);
PlaySound(PlaySoundKitID and "UndeadExploration" or 4142);
self:CraftingReset()
end

commented

I updated it, thanks.
Fixed