From 51a3e172c4401f5c86031f62c5cd7fd3001d9d06 Mon Sep 17 00:00:00 2001 From: bobloy Date: Tue, 9 Oct 2018 09:49:29 -0400 Subject: [PATCH] Quick fix --- fight/fight.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fight/fight.py b/fight/fight.py index 5a3e1f9..6165364 100644 --- a/fight/fight.py +++ b/fight/fight.py @@ -828,7 +828,7 @@ class Fight: the_fight["TYPEDATA"]["MATCHES"][m_id]["USERSCORE2"]["SCORE1"] = score1 the_fight["TYPEDATA"]["MATCHES"][m_id]["USERSCORE2"]["SCORE2"] = score2 - await self._save_fight(ctx, t_id, the_fight) + await self._save_fight(None, t_id, the_fight) async def _rr_report_dispute(self, guild: discord.Guild, t_id, m_id): """Reports a disputed match""" @@ -836,7 +836,7 @@ class Fight: the_fight["TYPEDATA"]["MATCHES"][m_id]["DISPUTE"] = True - await self._save_fight(ctx, t_id, the_fight) + await self._save_fight(None, t_id, the_fight) async def _rr_finalize(self, guild: discord.Guild, t_id): """Applies scores to all non-disputed matches""" @@ -859,7 +859,7 @@ class Fight: the_fight["TYPEDATA"]["MATCHES"][m_id]["SCORE1"] = \ the_fight["TYPEDATA"]["MATCHES"][m_id]["USERSCORE2"][ "SCORE2"] - await self._save_fight(ctx, t_id, the_fight) + await self._save_fight(None, t_id, the_fight) else: await self._rr_report_dispute(guild, t_id, m_id)