mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-10-03 12:01:24 +08:00
Player remove fixes and entity remove progress
This commit is contained in:
1 parent
29d78b9d95
commit
b8b9869522
2 files changed
+16
No files matched your search
@@ -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