mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-08-18 11:40:30 +08:00
Player remove fixes and entity remove progress
This commit is contained in:
@@ -122,6 +122,7 @@ GarageServer.prototype.addEntity = function (id) {
|
||||
};
|
||||
|
||||
GarageServer.prototype.removeEntity = function (id) {
|
||||
this.io.sockets.emit('removeEntity', id);
|
||||
this.game.removeEntity(id);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user