1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Turned battling off if player2 lost

This commit is contained in:
phxntxm 2016-07-10 17:01:27 -05:00
parent c44fcfcbbf
commit 30bd29dcab

View file

@ -95,6 +95,7 @@ class Interaction:
if num <= 50:
await self.bot.say(fmt.format(battleP1.mention, battleP2.mention))
updateBattleRecords(battleP1, battleP2)
battlingOff()
elif num > 50:
await self.bot.say(fmt.format(battleP2.mention, battleP1.mention))
updateBattleRecords(battleP2, battleP1)