reset window size when picking same character
This commit is contained in:
parent
8618cbec44
commit
f82051aff5
@ -132,6 +132,8 @@ class charselect(QtGui.QWidget):
|
|||||||
def onCharClicked(self, ind):
|
def onCharClicked(self, ind):
|
||||||
if self.parent.charname.lower() == self.charlist[ind + self.page * self.max_chars_on_page][0].lower():
|
if self.parent.charname.lower() == self.charlist[ind + self.page * self.max_chars_on_page][0].lower():
|
||||||
self.hide()
|
self.hide()
|
||||||
|
self.parent.gamewindow.setFixedSize(self.parent.width, self.parent.height)
|
||||||
|
self.parent.gamewindow.center()
|
||||||
return
|
return
|
||||||
self.parent.tcp.send("CC#0#"+str(ind+(self.page*self.max_chars_on_page))+"#ur mom gay#%")
|
self.parent.tcp.send("CC#0#"+str(ind+(self.page*self.max_chars_on_page))+"#ur mom gay#%")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user