show bg and clear game screen on bg change
This commit is contained in:
parent
8f5605bccb
commit
53d77b587f
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user