This commit is contained in:
cidoku 2025-03-11 18:04:17 -03:00
parent 2be05f1a54
commit 24e034b34e
2 changed files with 9 additions and 7 deletions

View File

@ -288,10 +288,7 @@ class lobby(QtGui.QWidget):
def onClicked_connect(self):
if not self.can_connect:
return
self.connectprogress.setText('Connecting...')
self.connectingimg.show()
self.connectcancel.show()
self.connectprogress.show()
self.btn_public.hide()
self.btn_favs.hide()
self.btn_refresh.hide()
@ -301,6 +298,11 @@ class lobby(QtGui.QWidget):
self.onlineplayers.hide()
self.serverinfo.hide()
self.settingsbtn.hide()
self.connectprogress.setText('Connecting...')
self.connectingimg.show()
self.connectcancel.show()
self.connectprogress.show()
self.aoserverinfo.tcp.send('askchaa#%')
# self.gamewindow.gamewidget.start_demo("test.demo")
# self.gamewindow.stackwidget.setCurrentWidget(self.gamewindow.gamewidget)

View File

@ -94,7 +94,7 @@ def handle_packets(caller, total, record=True):
audio.sethandleattr(caller.parent.wtcesfx, BASS_ATTRIB_VOL, caller.parent.soundslider.value() / 100.0)
if caller.parent.wtcesfx:
audio.playhandle(caller.parent.wtcesfx, True)
caller.parent.WTCEsignal.emit(testimony, variant)
caller.parent.wtcesignal.emit(testimony, variant)
elif header == 'HP':
kind = int(network[1])