Cleaning up spaces

This commit is contained in:
Jeremiah Billmann
2013-06-01 16:22:04 -04:00
parent a6c6753815
commit 9038bdc6fb
4 changed files with 20 additions and 19 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ window.GarageServerIO = (function (window, socketio) {
},
sendPlayerInput = function (input) {
socket.emit('input', { input: input, seq: sequenceNumber });
var currentTime = new Date().getTime();
socket.emit('input', { input: input, seq: sequenceNumber, timestamp: currentTime });
},
removePlayer = function (id) {