From d05cc6cf9320c32655d00d24442a7d98a96e5fca Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Wed, 20 Sep 2017 18:58:56 +0100 Subject: [PATCH] No desync with server interface now --- locale/ExpGaming-Core/ExpGaming - Lib.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/locale/ExpGaming-Core/ExpGaming - Lib.lua b/locale/ExpGaming-Core/ExpGaming - Lib.lua index f1092b3a..08c97124 100644 --- a/locale/ExpGaming-Core/ExpGaming - Lib.lua +++ b/locale/ExpGaming-Core/ExpGaming - Lib.lua @@ -44,6 +44,8 @@ function table.val_to_str ( v ) return '"' .. string.gsub(v,'"', '\\"' ) .. '"' else return "table" == type( v ) and table.tostring( v ) or + "function" == type( v ) and '"cant_display_function"' or + "userdata" == type( v ) and '"cant_display_userdata"' or tostring( v ) end end