FIX: if a conversion group move to another user, this user will be added to the group
This commit is contained in:
@@ -181,6 +181,7 @@ export class GameRoom {
|
||||
|
||||
private updateUserGroup(user: User): void {
|
||||
user.group?.updatePosition();
|
||||
user.group?.searchForNearbyUsers();
|
||||
|
||||
if (user.silent) {
|
||||
return;
|
||||
@@ -206,6 +207,7 @@ export class GameRoom {
|
||||
const group: Group = new Group(
|
||||
this.roomUrl,
|
||||
[user, closestUser],
|
||||
this.groupRadius,
|
||||
this.connectCallback,
|
||||
this.disconnectCallback,
|
||||
this.positionNotifier
|
||||
|
||||
Reference in New Issue
Block a user