diff --git a/src/world/World.js b/src/world/World.js index 4260c1cb..5dad782a 100644 --- a/src/world/World.js +++ b/src/world/World.js @@ -501,9 +501,8 @@ var step_mg = vec2.create(), */ World.prototype.step = function(dt,timeSinceLastCalled,maxSubSteps){ maxSubSteps = maxSubSteps || 10; - timeSinceLastCalled = timeSinceLastCalled || 0; - if(timeSinceLastCalled === 0){ // Fixed, simple stepping + if(timeSinceLastCalled === undefined){ // Fixed, simple stepping this.internalStep(dt);