PauseAndLock was only called with control_adjacent=false. Remove the parameter and the function call that was only made when it was true.
PauseAndLock was only called with control_adjacent=false. Remove the parameter and the function call that was only made when it was true.