fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user