From e28faf970ba89ff76c3a557cb2312dd82064d2bf Mon Sep 17 00:00:00 2001 From: Yannick Gloster Date: Tue, 10 Nov 2020 12:19:38 +0000 Subject: [PATCH] Changed to use sm_map instead of changelevel --- bot.py | 2 +- utils/server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index ed0c264..75390d0 100644 --- a/bot.py +++ b/bot.py @@ -8,7 +8,7 @@ from utils.csgo_server import CSGOServer -__version__ = '1.6.0' +__version__ = '1.6.2' __dev__ = 745000319942918303 class Discord_10man(commands.Bot): diff --git a/utils/server.py b/utils/server.py index 8ed2b7b..1b152b5 100644 --- a/utils/server.py +++ b/utils/server.py @@ -127,7 +127,7 @@ async def _handler(self, request: web.Request) -> web.Response: await server.score_message.edit(content='Game Cancelled by Admin') # Temporary fix, Get5 breaks on a series cancel unless map changes valve.rcon.execute((server.server_address, server.server_port), server.RCON_password, - 'changelevel de_mirage') + 'sm_map de_mirage') score_embed: discord.Embed = server.score_message.embeds[0] score_embed.set_footer(text='🟥 Ended')