Browse Source

12/26/2022

BradDev
Joe DiPrima 3 years ago
parent
commit
f06db82c7e
  1. 6
      qmutants.py

6
qmutants.py

@ -1623,11 +1623,11 @@ class MainWindow(QMainWindow):
self.send_all("west\r\n") self.send_all("west\r\n")
def h_btn(self): def h_btn(self):
for mut in mutant_list:
for mut in self.mutant_list:
mut.heal=True mut.heal=True
def c_btn(self): def c_btn(self):
for mut in mutant_list:
for mut in self.mutant_list:
mut.combat_start() mut.combat_start()
#Button send text #Button send text
@ -1635,7 +1635,7 @@ class MainWindow(QMainWindow):
self.send_all(self.text_input.text()) self.send_all(self.text_input.text())
def send_all(self,out_str): 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") mut.command_str.emit(out_str+"\r\n")
#Creates the form groupbox #Creates the form groupbox

Loading…
Cancel
Save