Awards: Fix __player_data

This commit is contained in:
Wuzzy 2020-03-31 22:15:27 +02:00
parent ee144516c3
commit 37de706e2c
1 changed files with 1 additions and 1 deletions

View File

@ -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