refactoring
This commit is contained in:
parent
afa24c01bb
commit
7790578748
@ -3209,7 +3209,8 @@ class gui(QtGui.QWidget):
|
|||||||
if f_message[self.tick_pos] != " " or self.blank_blip:
|
if f_message[self.tick_pos] != " " or self.blank_blip:
|
||||||
if self.blip_pos % self.blip_rate == 0 and not formatting_char:
|
if self.blip_pos % self.blip_rate == 0 and not formatting_char:
|
||||||
self.blip_pos = 0
|
self.blip_pos = 0
|
||||||
audio.playhandle(self.blipsnd, True)
|
if self.blipsnd:
|
||||||
|
audio.playhandle(self.blipsnd, True)
|
||||||
|
|
||||||
self.blip_pos += 1
|
self.blip_pos += 1
|
||||||
|
|
||||||
|
@ -520,6 +520,7 @@ class AOServerInfo(QtCore.QThread):
|
|||||||
|
|
||||||
del network[0]
|
del network[0]
|
||||||
gotChars = True
|
gotChars = True
|
||||||
|
print network
|
||||||
charlist = [ [char.split('&')[0].decode('utf-8'), 0, "male", True ] for char in network ]
|
charlist = [ [char.split('&')[0].decode('utf-8'), 0, "male", True ] for char in network ]
|
||||||
|
|
||||||
# Disable characters not found in filesystem
|
# Disable characters not found in filesystem
|
||||||
|
@ -4,8 +4,7 @@ from PyQt4 import QtGui
|
|||||||
def handle_packets(caller, total, record=True):
|
def handle_packets(caller, total, record=True):
|
||||||
# Record the packet if demos enabled
|
# Record the packet if demos enabled
|
||||||
if record:
|
if record:
|
||||||
#caller.parent.demo_recorder.record(total)
|
caller.parent.demo_recorder.record(total)
|
||||||
pass
|
|
||||||
|
|
||||||
for network in total:
|
for network in total:
|
||||||
header = network[0]
|
header = network[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user