changed:
-- Remove dummy
if p_data then
if p_data.dummy and p_data.dummy.valid then
p_data.dummy.destroy()
minime.writeDebug("Removed dummy character!")
end
end
global.player_data[player] = nil
minime.writeDebug("Removed data of player %s!", {player or "nil"})
into:
-- Remove dummy
if p_data then
if p_data.dummy and p_data.dummy.valid then
p_data.dummy.destroy()
minime.writeDebug("Removed dummy character!")
end
global.player_data[player] = nil
end
minime.writeDebug("Removed data of player %s!", {player or "nil"})
Now it loads fine (both new scenarios and even the old ones).