fix bug on exit

This commit is contained in:
Shadow15510 2021-08-22 17:08:16 +02:00
parent 55c300559e
commit 0a0046f195
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class Asci:
# Read the dialogue
event = read_event(self.data[0], self._game_event(self.data[0], self.data[1], x, y, self.stat))
# XP and stat modification
self.data[0] += event.xp_earned
for index in range(len(event.stat)):
@ -223,6 +223,7 @@ class Asci:
self._keyboard(key)
if self.stat[0] <= 0: self.stat[0] = 100
return self.stat, self.data