Änderung an ProgrammExit
This commit is contained in:
@@ -354,7 +354,7 @@ class MyApp(ShowBase):
|
||||
label_menu = DirectDialog(text="Hauptmenü", parent=self.gameOverScreen, scale = 1, pos=(0,0,0.5))
|
||||
if(us.checkuserdb() == False):
|
||||
#label_enter_name_msg = DirectDialog(parent=self.gameOverScreen, text="Gib deinen Namen ein:", scale=0.05, pos=(-0.6, 0.5,0))
|
||||
label_input = DirectEntry(parent=self.gameOverScreen, text="Name", width=15, scale = 0.05, pos=(-0.6,0.5,0), relief=SUNKEN)
|
||||
label_input = DirectEntry(parent=self.gameOverScreen, text="Name", width=15, scale = 0.05, pos=(-0.6,0.5,0), relief=DGG.SUNKEN)
|
||||
|
||||
elif(us.checkuserdb() == True):
|
||||
pos_button_x = 0
|
||||
@@ -417,8 +417,8 @@ class MyApp(ShowBase):
|
||||
|
||||
def quit(self):
|
||||
#self.taskMgr.destroy() #Bereitet unter Linux Probleme
|
||||
self.us.__del__(self.us)
|
||||
sys.exit()
|
||||
#self.us.__del__(self.us)
|
||||
app.finalizeExit()
|
||||
|
||||
|
||||
#Dieser Task wird bei Berechnungs jeden Frames ausgeführt
|
||||
|
||||
Reference in New Issue
Block a user