diff --git a/qmutants.py b/qmutants.py index 1c240a4..5775cef 100644 --- a/qmutants.py +++ b/qmutants.py @@ -1623,11 +1623,11 @@ class MainWindow(QMainWindow): self.send_all("west\r\n") def h_btn(self): - for mut in mutant_list: + for mut in self.mutant_list: mut.heal=True def c_btn(self): - for mut in mutant_list: + for mut in self.mutant_list: mut.combat_start() #Button send text @@ -1635,7 +1635,7 @@ class MainWindow(QMainWindow): self.send_all(self.text_input.text()) def send_all(self,out_str): - for mut in mutant_list: + for mut in self.mutant_list: mut.command_str.emit(out_str+"\r\n") #Creates the form groupbox