Remove debug prints

This commit is contained in:
Philippe Roy 2022-04-23 11:04:45 +02:00
parent af31fd44e0
commit 7c24adde46

10
ct.py
View File

@ -498,7 +498,6 @@ def endbanner_hl(cont):
# Fermer la page de fin
def endbanner_close():
print("endbanner_close")
sound_play (sndbuff_click)
scene.objects['Terrain']['manip_mode']=0
scene.objects['End'].setVisible(False,True)
@ -729,23 +728,16 @@ def mode(cont):
# Touche ESC
if JUST_ACTIVATED in keyboard.inputs[bge.events.ESCKEY].queue:
print("ESC")
print(scene.objects['Terrain']['manip_mode'])
# Fenêtres modales
if scene.objects['Terrain']['manip_mode']==9:
print("['manip_mode']==9")
if scene.objects['Book'].visible:
print("Book")
doc_close()
if scene.objects['About'].visible:
print("About")
about_close()
if scene.objects['End'].visible:
print("End")
endbanner_close()
return
else: # Sortir du jeux
print("endgame")
terrain_stop ()
bge.logic.endGame()
@ -1063,7 +1055,6 @@ def doc (cont):
# Fermer le livre
def doc_close ():
print("doc_close")
sound_play (sndbuff_book_close)
scene.objects['Terrain']['manip_mode']=0 # Fenêtre modale
scene.objects['Book_page_screen'].setVisible(False,True)
@ -1171,7 +1162,6 @@ def about_hl(cont):
# Fermer le about
def about_close():
print("about_close")
sound_play (sndbuff_click)
scene.objects['Terrain']['manip_mode']=0
scene.objects['About'].setVisible(False,True)