This should check if `state` is true right? otherwise it seems like it would queue up a sprint every frame.