Player remove fixes and entity remove progress

This commit is contained in:
Jeremiah Billmann
2013-07-14 16:10:51 -04:00
parent 29d78b9d95
commit b8b9869522
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -122,6 +122,7 @@ GarageServer.prototype.addEntity = function (id) {
};
GarageServer.prototype.removeEntity = function (id) {
this.io.sockets.emit('removeEntity', id);
this.game.removeEntity(id);
};