Modül:Koruma kutu: Revizyonlar arasındaki fark
Değişiklik özeti yok Etiket: Elle geri alma |
Değişiklik özeti yok Etiket: Geri alındı |
||
| 721. satır: | 721. satır: | ||
else | else | ||
-- Deal with regular protection types. | -- Deal with regular protection types. | ||
local images = obj._cfg.images | local images = obj._cfg and obj._cfg.images or {} | ||
if images[action] then | |||
if images[action][level] then | |||
obj._imageFilename = images[action][level] | |||
elseif images[action].default then | |||
obj._imageFilename = images[action].default | |||
end | |||
end | |||
end | end | ||
end | end | ||