Merge branch 'master' of git.bunny.cafe:cidoku/AO2XP

This commit is contained in:
cidoku 2025-02-20 18:57:16 -03:00
commit 3ba0fbdc0e

View File

@ -130,7 +130,7 @@ class charselect(QtGui.QWidget):
self.buttons[ind].setPixmap(QtGui.QPixmap(filename))
def onCharClicked(self, ind):
if self.parent.charname.lower() == self.charlist[ind][0].lower():
if self.parent.charname.lower() == self.charlist[ind+self.page*self.max_chars_on_page][0].lower():
self.hide()
return
self.parent.tcp.send("CC#0#"+str(ind+(self.page*self.max_chars_on_page))+"#ur mom gay#%")