mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-08-15 12:04:56 +08:00
Fixed client prediction and prepped for interpolation
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ sockets.set('log level', 0);
|
||||
|
||||
garageServer.createGarageServer(sockets,{
|
||||
logging: true,
|
||||
onUpdatePhysics: function (state, inputs) {
|
||||
onUpdatePlayerPhysics: function (state, inputs) {
|
||||
var i = 0;
|
||||
if (!state.x && !state.y) {
|
||||
state.x = 0;
|
||||
|
||||
Reference in New Issue
Block a user