diff --git a/rp.py b/rp.py index 0b428cf..8b3b632 100644 --- a/rp.py +++ b/rp.py @@ -1054,6 +1054,13 @@ def tablet_close (): scene.objects['Task-cmd'].restorePhysics() scene.objects['Task-cmd-Hl'].setVisible(False,True) + # Vitesse + if scene.objects['Points']['upgrade_speed'] ==False: + scene.objects['Text_speed'].setVisible(False,True) + scene.objects['Text_speed_label-fr'].setVisible(False,True) + scene.objects['Speed_down'].setVisible(False,True) + scene.objects['Speed_up'].setVisible(False,True) + # Camera scene.objects['Camera'].worldPosition.x = scene.objects['Camera']['current_lx'] scene.objects['Camera'].worldPosition.y = scene.objects['Camera']['current_ly']