- Show light of the martyr damage on death log.

- Truncate spell and source name in the death recap window.
This commit is contained in:
Tercio
2018-09-28 19:19:03 -03:00
parent 7b3078ae39
commit 027cdda48c
9 changed files with 238 additions and 58 deletions
+1 -1
View File
@@ -810,7 +810,7 @@ local SwitchOnClick = function (self, button, forced_value, value)
--> safe call
local success, errorText = pcall (slider.OnSwitch, slider, slider.FixedValue, value)
if (not success) then
error ("Details! Framework: OnSwitch() " .. (button:GetName() or "-NONAME-") .. " error: " .. (errorText or ""))
error ("Details! Framework: OnSwitch() " .. (button.GetName and button:GetName() or "-NONAME-") .. " error: " .. (errorText or ""))
end
--> trigger hooks