summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSmallJoker <st.rentsch@hotmail.com>2014-07-23 19:06:46 +0200
committerSmallJoker <st.rentsch@hotmail.com>2014-07-23 19:06:46 +0200
commit343a08e44a681de20d5aad94c7d21f24c7c439f9 (patch)
tree19d5a102a5377e44914ca1db38a97b8c24c61902
parent4b4aa7fd4c8c5f7e937f4dff51a487286f0cf028 (diff)
Update - fix some errors
-rw-r--r--MT_skins_updater.exe (renamed from win32.NET/MT_skins_updater.exe)bin10752 -> 10752 bytes
-rw-r--r--Newtonsoft.Json.dll (renamed from win32.NET/Newtonsoft.Json.dll)bin491008 -> 491008 bytes
-rw-r--r--u_skins/init.lua10
3 files changed, 10 insertions, 0 deletions
diff --git a/win32.NET/MT_skins_updater.exe b/MT_skins_updater.exe
index 5b4ee3e..5b4ee3e 100644
--- a/win32.NET/MT_skins_updater.exe
+++ b/MT_skins_updater.exe
Binary files differ
diff --git a/win32.NET/Newtonsoft.Json.dll b/Newtonsoft.Json.dll
index 054c933..054c933 100644
--- a/win32.NET/Newtonsoft.Json.dll
+++ b/Newtonsoft.Json.dll
Binary files differ
diff --git a/u_skins/init.lua b/u_skins/init.lua
index 88fb301..7634de7 100644
--- a/u_skins/init.lua
+++ b/u_skins/init.lua
@@ -9,6 +9,16 @@ u_skins.pages = {}
u_skins.u_skins = {}
u_skins.file_save = false
+-- ( Deprecated
+u_skins.type = { SPRITE=0, MODEL=1, ERROR=99 }
+u_skins.get_type = function(texture)
+ if not u_skins.is_skin(texture) then
+ return u_skins.ERROR
+ end
+ return u_skins.MODEL
+end
+-- )
+
u_skins.is_skin = function(texture)
if not texture then
return false