master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit 6cc029a6e4 - Show all commits

View File

@ -1100,7 +1100,7 @@ if progressive_mode then
local meta = player:get_meta()
local name = player:get_player_name()
local data = player_data[name]
data.inv_items = deserialize(meta:get_string("inv_items")) or {}
end)
@ -1108,7 +1108,11 @@ if progressive_mode then
local meta = player:get_meta()
local name = player:get_player_name()
local data = player_data[name]
if not data or not data.inv_items then
return
end
meta:set_string("inv_items", serialize(data.inv_items))
end