mirror of
				https://gitlab.com/klmp200/LO41.git
				synced 2025-10-31 01:03:05 +00:00 
			
		
		
		
	~
This commit is contained in:
		| @@ -20,7 +20,7 @@ void * runnable_ElevatorBreaker(void * void_this){ | ||||
|  | ||||
| 	AGENT_OPTIONS | ||||
|  | ||||
| 	while (data->is_active_passengers_left(data)){ | ||||
| 		while (data->is_active_passengers_left(data)){ | ||||
| 		usleep(900000); | ||||
| 		// One chance out of two to break something | ||||
| 		if ((rand() % 101) > 50) { | ||||
| @@ -44,4 +44,4 @@ ElevatorBreaker *_init_ElevatorBreaker(){ | ||||
| 	) | ||||
|  | ||||
| 	return new_elevator_breaker; | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user