From e02c7ba14b4594a508c26fdf2a3c2f2c9cce033e Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 9 Aug 2021 10:02:08 -0400 Subject: [PATCH] beginning of set map --- conquest/conquest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conquest/conquest.py b/conquest/conquest.py index 60f214e..47dd087 100644 --- a/conquest/conquest.py +++ b/conquest/conquest.py @@ -509,6 +509,10 @@ class Conquest(commands.Cog): ) return + self.current_games[ctx.guild.id] = ConquestGame( + map_dir, mapname, self.current_map_folder / ctx.guild.id / mapname + ) + self.current_map = mapname self.is_custom = is_custom await self.config.current_map.set(self.current_map) # Save to config too