forked from MineClone5/MineClone5
#346 Cleanup the fix
This commit is contained in:
parent
acda4deb3b
commit
56ab442645
|
@ -611,9 +611,9 @@ do
|
||||||
io.close(file)
|
io.close(file)
|
||||||
if string then
|
if string then
|
||||||
local savetable = minetest.deserialize(string)
|
local savetable = minetest.deserialize(string)
|
||||||
local players_stored_data = savetable and savetable.players_stored_data
|
local savetable_players_stored_data = savetable and savetable.players_stored_data
|
||||||
if players_stored_data then
|
if savetable_players_stored_data then
|
||||||
for name, players_stored_data in pairs(savetable.players_stored_data) do
|
for name, players_stored_data in pairs(savetable_players_stored_data) do
|
||||||
doc.data.players[name] = {}
|
doc.data.players[name] = {}
|
||||||
doc.data.players[name].stored_data = players_stored_data
|
doc.data.players[name].stored_data = players_stored_data
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue