diff --git a/rp.py b/rp.py index 8b3b632..735ce70 100644 --- a/rp.py +++ b/rp.py @@ -108,6 +108,7 @@ def points_maj (cont): # Level if scene.objects['Points-Level-text']['Text']!=str(scene.objects['Points']['level']): scene.objects['Points-Level-text']['Text']=str(scene.objects['Points']['level']) + scene.objects['Book_level']['Text'] = "Niveau actuel : "+str(scene.objects['Points']['level']) # Maj du fichier de config (sound : data/mission/level -> [1][1].text) lors d'une augmentation de niveau if scene.objects['Points']['level']>int(rp_config_tree[1][1].text): diff --git a/rp_lib.py b/rp_lib.py index 21e4788..fbebecd 100644 --- a/rp_lib.py +++ b/rp_lib.py @@ -235,7 +235,7 @@ def rp_avancer (): # rp_tempo (0.1*step) # Animation - if scene.objects['Commands']['speed'] < 10: + if scene.objects['Commands']['speed'] < 10 or scene.objects['Points']['step'] <=2 : start = 1 end = 100 layer = 0