forked from Wuzzy/realtest_mt5
Awards: Fix __player_data
This commit is contained in:
parent
ee144516c3
commit
37de706e2c
|
@ -82,7 +82,7 @@ function awards.load()
|
||||||
else
|
else
|
||||||
local str = storage:get_string("player_data")
|
local str = storage:get_string("player_data")
|
||||||
if str == "" then
|
if str == "" then
|
||||||
__player_data = str
|
__player_data = {}
|
||||||
else
|
else
|
||||||
__player_data = minetest.parse_json(str) or {}
|
__player_data = minetest.parse_json(str) or {}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue