diff --git a/client/garageserver.io.js b/client/garageserver.io.js index b1516eb..561e069 100644 --- a/client/garageserver.io.js +++ b/client/garageserver.io.js @@ -405,9 +405,6 @@ var GarageServerIO = (function (socketio) { newState = _options.onInterpolation(positions.previous.state, positions.target.state, amount); entity.state = newState = _options.onInterpolation(entity.state, newState, _stateController.smoothingFactor); } - else { - entity.state = entity.latestUpdate().state; - } } }); }, diff --git a/example/package.json b/example/package.json index c4abdee..3d4d59d 100644 --- a/example/package.json +++ b/example/package.json @@ -1,5 +1,5 @@ { - "name": "garageserver.io.example", + "name": "garageserver.io", "subdomain": "garageserverio", "description": "A sample application using garageserver.io", "author": { @@ -7,13 +7,16 @@ "email": "jcbillmann@yahoo.com" }, "version": "0.6.0", - "license" : "MIT", + "license": "MIT", "dependencies": { - "express": "3.1.0", - "jade": "*", - "socket.io": "0.9.14" + "express": "3.1.0", + "jade": "*", + "socket.io": "0.9.14" }, "engines": { - "node": "0.8.x" + "node": "0.8.x" + }, + "scripts": { + "start": "node app.js" } -} \ No newline at end of file +}