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
|
||||
local str = storage:get_string("player_data")
|
||||
if str == "" then
|
||||
__player_data = str
|
||||
__player_data = {}
|
||||
else
|
||||
__player_data = minetest.parse_json(str) or {}
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue