Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Commit 23ffc64

Browse files
committed
Prevent possible nil error
1 parent 09df39d commit 23ffc64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Masque_Neuron.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- Copyright (c) 2017-2024 Britt W. Yazel
33
-- This code is licensed under the MIT license (see LICENSE for details)
44

5-
local MASQUE, MSQ_API = LibStub("Masque", true)
5+
local MASQUE, MSQ_VERSION = LibStub("Masque", true)
66
if not MASQUE then
77
return
88
end
@@ -13,7 +13,7 @@ local AddOn = ...
1313

1414
--[[ Default ]]
1515
MASQUE:AddSkin("Neuron: Default", {
16-
API_VERSION = MSQ_API,
16+
API_VERSION = MSQ_VERSION or 110000,
1717
Shape = "Square",
1818

1919
-- Info

0 commit comments

Comments
 (0)