Skip to content

Commit 4dc978b

Browse files
committed
safety
1 parent 97f6a94 commit 4dc978b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ElvUI/Core/Modules/Maps/Minimap.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,9 @@ end
682682
function M:SetGetMinimapShape()
683683
GetMinimapShape = M.GetMinimapShape
684684

685-
Minimap:Size(M.db.size)
685+
if M.db.size then
686+
Minimap:Size(M.db.size)
687+
end
686688
end
687689

688690
function M:Initialize()

0 commit comments

Comments
 (0)