This commit is contained in:
Jeremiah Billmann
2013-07-14 14:58:40 -04:00
parent 9d364265e9
commit 47d0ec5e7d
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
if (garageServer) {
var newId = guid();
garageServer.addEntity(newId);
garageServer.updateEntityState(newId, { x: state.x, y: state.y, direction: state.direction } );
garageServer.updateEntityState(newId, { x: state.x + 5, y: state.y + 5, direction: state.direction } );
}
}
}