parent
7f87f1658e
commit
2f2f5a7def
|
@ -118,7 +118,7 @@ end
|
||||||
-- by ChillCode, available under the MIT license.
|
-- by ChillCode, available under the MIT license.
|
||||||
local function deserialize_workaround(content)
|
local function deserialize_workaround(content)
|
||||||
local nodes
|
local nodes
|
||||||
if not jit then
|
if not minetest.global_exists("jit") then
|
||||||
nodes = minetest.deserialize(content, true)
|
nodes = minetest.deserialize(content, true)
|
||||||
else
|
else
|
||||||
-- XXX: This is a filthy hack that works surprisingly well
|
-- XXX: This is a filthy hack that works surprisingly well
|
||||||
|
|
Loading…
Reference in New Issue