This commit is contained in:
Tercio Jose
2020-10-17 17:15:29 -03:00
parent c42a35657d
commit 6e7414fb6b
7 changed files with 25 additions and 25 deletions
+5 -1
View File
@@ -6916,6 +6916,7 @@ function _detalhes:ChangeSkin (skin_name)
local this_skin = _detalhes.skins [skin_name]
if (not this_skin) then
Details:Msg("error 0x4546", skin_name)
skin_name = _detalhes.default_skin_to_use
this_skin = _detalhes.skins [skin_name]
end
@@ -7754,7 +7755,10 @@ function _detalhes:AttributeMenu (enabled, pos_x, pos_y, font, size, color, side
shadow = self.attribute_text.shadow
end
if (type (timer_encounter) ~= "boolean") then
if (type(self.attribute_text.show_timer) ~= "boolean") then
self.attribute_text.show_timer = true
end
if (type(timer_encounter) ~= "boolean") then
timer_encounter = self.attribute_text.show_timer
end