Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix World.step reverting to fixed time step with 0 dt
Calling World.step with a `timeSinceLastCalled` of 0 would cause it to revert to the fixed time step behaviour. This was due to the default value of `timeSinceLastCalled` being 0. This change checks for `undefined`, as opposed to 0. See issue schteppe#334 for more details.
- Loading branch information