Skip to content

Interaction between VehicleConstraint and mAllowSleeping #1443

Answered by jrouwe
McCallisterRomer asked this question in Q&A
Discussion options

You must be logged in to vote

I'm curious if it has to work this way? I haven't looked that deeply yet, but would it be sufficient to just reset the sleep timer?

Good point. I think the answer to that question is that the ResetSleepTimer function didn't exist at the time I wrote that code. I've changed the code to use that function in #1444.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@McCallisterRomer
Comment options

Answer selected by McCallisterRomer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants