Progress: Documentation

This commit is contained in:
Jeremiah Billmann
2013-07-27 16:31:42 -04:00
parent 47bf941ed1
commit 333885e028
2 changed files with 18 additions and 12 deletions
+2 -2
View File
@@ -312,7 +312,7 @@ var GarageServerIO = (function (socketio) {
}
_playerController.entities.forEach(function(player) {
playerStates.push({ state: player.state });
playerStates.push({ id: player.id, state: player.state });
});
return playerStates;
@@ -328,7 +328,7 @@ var GarageServerIO = (function (socketio) {
}
_entityController.entities.forEach(function(entity) {
entityStates.push({ state: entity.state });
entityStates.push({ id: entity.id, state: entity.state });
});
return entityStates;