summaryrefslogtreecommitdiff
path: root/skin_meta_api.lua
diff options
context:
space:
mode:
authorAlexander Weber <web.alexander@web.de>2017-06-16 23:16:22 +0200
committerAlexander Weber <web.alexander@web.de>2017-06-16 23:16:22 +0200
commit8d991881aad4bc1ce02903c02297fadb45c8e915 (patch)
treed76274795a942911fb8be883dea0b595e7da5509 /skin_meta_api.lua
parent28d28390ce5d67f47db184cbbbc4ecd74be77eb2 (diff)
get the new api working with sfinv and 3d_armor
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