Minor fix

This commit is contained in:
Shadow15510 2023-01-05 15:50:24 +01:00
parent 01869395de
commit 811ef62748
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ def fight(stat, opponent_stat, opponent_name):
# Fight
if player > opponent:
end = player_turn()
if end: return 2
if end: return 2, player_stat[4]
if opponent_stat[4] <= 0: return 0, player_stat[4]
opponent_turn()