mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-08-15 12:04:56 +08:00
Cleaning up spaces
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user