always send offset even while not paired
This commit is contained in:
parent
d78b3ae235
commit
2792f4b5af
10
gameview.py
10
gameview.py
@ -380,6 +380,8 @@ class AOCharMovie(QtGui.QLabel):
|
||||
|
||||
@QtCore.pyqtSlot()
|
||||
def pillow_frame_change(self):
|
||||
if not self.pillow_frames: return
|
||||
|
||||
if len(self.pillow_frames)-1 == self.pillow_frame:
|
||||
if self.play_once:
|
||||
self.preanim_timer.start(int(self.pillow_frames[self.pillow_frame][1] * self.pillow_speed))
|
||||
@ -1389,12 +1391,8 @@ class gui(QtGui.QWidget):
|
||||
|
||||
if "cccc_ic_support" in self.features:
|
||||
msg += self.showname+"#" # custom showname
|
||||
if self.paircheckbox.isChecked():
|
||||
msg += str(self.pairdropdown.currentIndex())+"#" #pair charID
|
||||
msg += str(self.pairoffset.value())+"#" #self offset
|
||||
else:
|
||||
msg += "-1#" #pair charID
|
||||
msg += "0#" #self offset
|
||||
msg += (str(self.pairdropdown.currentIndex()) if self.paircheckbox.isChecked() else "-1")+"#" # pair charID
|
||||
msg += str(self.pairoffset.value())+"#" # send this anyway; AO 2.8
|
||||
msg += str(int(self.nointerruptbtn.isChecked()))+"#" # NoInterrupt(TM)
|
||||
|
||||
msg += "%"
|
||||
|
Loading…
Reference in New Issue
Block a user