summaryrefslogtreecommitdiff
path: root/skin_meta_api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'skin_meta_api.lua')
-rw-r--r--skin_meta_api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/skin_meta_api.lua b/skin_meta_api.lua
index 9e681c0..367dee1 100644
--- a/skin_meta_api.lua
+++ b/skin_meta_api.lua
@@ -12,9 +12,9 @@ function skins.new(key, object)
setmetatable(self, skin_class)
self.__index = skin_class
- self._key, key)
+ self._key = key
self._sort_id = 0
- skins.meta[key]
+ skins.meta[key] = self
return self
end