old_contents: def VieAleatoire():
  	global MoveHeadRandom
  	if MoveHeadRandom==1:
  	    MoveHeadTimer.startClock()
  	elif MoveHeadRandom==0:
  	    MoveHeadTimer.stopClock()
  	if MoveBodyRandom==1:
  	    MoveBodyTimer.startClock()
  	elif MoveBodyRandom==0:
  	    MoveBodyTimer.stopClock()
  
  	
  	
  
new_contents: def VieAleatoire():
  	#if MoveBodyRandom==1 and MoveHeadRandom==1:
  	global MoveBodyRandom
  	global MoveHeadRandom
  	MoveBodyRandomize()
  	MoveHeadRandomize()
  	MoveHeadTimer.startClock()
  	MoveBodyTimer.startClock()
  	MoveBodyRandom=1
  	MoveHeadRandom=1
  	
  	
  
subject: Update VieAleatoire.py