From 8d991881aad4bc1ce02903c02297fadb45c8e915 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Fri, 16 Jun 2017 23:16:22 +0200 Subject: get the new api working with sfinv and 3d_armor --- skin_meta_api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'skin_meta_api.lua') 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 -- cgit v1.2.3