diff --git a/src/tt_damage_calculator/app.py b/src/tt_damage_calculator/app.py index 5843a5a3..e73d7289 100644 --- a/src/tt_damage_calculator/app.py +++ b/src/tt_damage_calculator/app.py @@ -90,6 +90,7 @@ def __init__(self, parent, image, gag): self['fg'] = 'white' self['command'] = self.press self.grid(row=0, column=self.gag.level) + def list(self): global trp_used global snd_used @@ -107,6 +108,7 @@ def list(self): return sqt_used case "Drop": return drp_used + def press(self): data = self.gag.button_press(organic.get()) self.list().append(data[0])