mirror of
https://gitlab.com/klmp200/LO41.git
synced 2025-07-12 04:39:23 +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