From 6f74268546ae4eee537c5acc21aa4c8fa03be55f Mon Sep 17 00:00:00 2001 From: Brayden Date: Fri, 15 Jul 2016 12:12:58 -0700 Subject: [PATCH] Fix your database serialization, Drew --- otouto/plugins/pokemon-go.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/otouto/plugins/pokemon-go.lua b/otouto/plugins/pokemon-go.lua index c2b0a8b..9ded32b 100644 --- a/otouto/plugins/pokemon-go.lua +++ b/otouto/plugins/pokemon-go.lua @@ -21,6 +21,9 @@ Set your Pokémon Go team for statistical purposes. The team must be valid, and if not db.membership then db.membership = {} end + for _, set in pairs(db.membership) do + setmetatable(set, utilities.set_meta) + end end local team_ref = {