Switched group position to protobuf
This commit is contained in:
parent
76d3779438
commit
b4f971c501
5 changed files with 38 additions and 22 deletions
|
@ -90,9 +90,9 @@ export class World {
|
|||
this.positionNotifier.updatePosition(user, userPosition, user.position);
|
||||
|
||||
const oldGroupPosition = user.group?.getPosition();
|
||||
user.group?.updatePosition();
|
||||
|
||||
user.position = userPosition;
|
||||
user.group?.updatePosition();
|
||||
|
||||
if (user.silent) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue