show bg and clear game screen on bg change

This commit is contained in:
simio 2025-02-21 05:35:34 -03:00
parent 8f5605bccb
commit 53d77b587f

View File

@ -2097,6 +2097,9 @@ class gui(QtGui.QWidget):
setattr(self, bgfile[0], QtGui.QPixmap.fromImage(bgimg)) setattr(self, bgfile[0], QtGui.QPixmap.fromImage(bgimg))
else: else:
setattr(self, bgfile[0], QtGui.QPixmap.fromImage(bgimg)) setattr(self, bgfile[0], QtGui.QPixmap.fromImage(bgimg))
self.set_scene(True)
self.chatbox.hide()
self.char.hide()
def netmsg_hp(self, type, health): def netmsg_hp(self, type, health):