dont-spam-firemc #7

Closed
9pfs wants to merge 15 commits from 9pfs/FireBot:dont-spam-firemc into master
Showing only changes of commit c4f5d24f19 - Show all commits

2
bot.py
View file

@ -270,7 +270,7 @@ class bot(bare.bot):
tdict = {} tdict = {}
for thread in self.threads: for thread in self.threads:
tdict[thread] = timers.data[thread] tdict[thread] = timers.data[thread]
if tdict[thread]["passInstance"]: if tdict[thread]["passInstance"]:
tdict[thread]["args"] = [self] tdict[thread]["args"] = [self]
tMgr = Thread(target=timers.threadManager, args=(tdict,)) tMgr = Thread(target=timers.threadManager, args=(tdict,))
tMgr.daemon = True tMgr.daemon = True