Don't load current map if it doesn't exist
This commit is contained in:
parent
3b156d8275
commit
8012a20ddb
@ -52,6 +52,7 @@ class Conquest(commands.Cog):
|
|||||||
self.asset_path = bundled_data_path(self) / "assets"
|
self.asset_path = bundled_data_path(self) / "assets"
|
||||||
self.current_map = await self.config.current_map()
|
self.current_map = await self.config.current_map()
|
||||||
|
|
||||||
|
if self.current_map:
|
||||||
await self.current_map_load()
|
await self.current_map_load()
|
||||||
|
|
||||||
async def current_map_load(self):
|
async def current_map_load(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user