mirror of
https://forge.apps.education.fr/blender-edutech/ropy.git
synced 2024-01-27 08:23:20 +01:00
Bugfix : Maj du level dans la documentation, Crash lors de l'avance rapide (10)
This commit is contained in:
parent
cfab8dcef6
commit
d264df294a
1
rp.py
1
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):
|
||||
|
Loading…
Reference in New Issue
Block a user