Browse Source

Made serialization work on straight lua.

Izaya 3 years ago
parent
commit
6a951a0e1e
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      serialization.lua

+ 0
- 1
serialization.lua View File

@@ -119,7 +119,6 @@ function serialization.serialize(value, pretty)
119 119
 end
120 120
 
121 121
 function serialization.unserialize(data)
122
-  checkArg(1, data, "string")
123 122
   local result, reason = load("return " .. data, "=data", _, {math={huge=math.huge}})
124 123
   if not result then
125 124
     return nil, reason