mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
fix: playerlist usertimer reset when befriending a user (#837)
This commit is contained in:
@@ -255,9 +255,13 @@ export function applyUser(json) {
|
||||
}
|
||||
if (hasPropChanged) {
|
||||
if (changedProps.location && changedProps.location[0] !== 'traveling') {
|
||||
const ts = Date.now();
|
||||
changedProps.location.push(ts - ref.$location_at);
|
||||
ref.$location_at = ts;
|
||||
if (playerListRef) {
|
||||
ref.$location_at = playerListRef.joinTime;
|
||||
} else {
|
||||
const ts = Date.now();
|
||||
changedProps.location.push(ts - ref.$location_at);
|
||||
ref.$location_at = ts;
|
||||
}
|
||||
}
|
||||
handleUserUpdate(ref, changedProps);
|
||||
if (AppDebug.debugUserDiff) {
|
||||
|
||||
Reference in New Issue
Block a user