woah man
This commit is contained in:
@@ -8,6 +8,8 @@ import Command from "../commands/command.ts";
|
||||
import z from "zod";
|
||||
import { PushNotificationId } from "../socket/signalr/types.ts";
|
||||
|
||||
const log = new Logging("Presence");
|
||||
|
||||
export enum VRMovementMode {
|
||||
TELEPORT,
|
||||
WALK
|
||||
@@ -87,6 +89,8 @@ export class Presence {
|
||||
}
|
||||
|
||||
export() {
|
||||
log.d(`profId ${this.#profile.getId()} presence exported. has instance: ${this.#profile.getInstance() !== null}`);
|
||||
|
||||
this.#lastExported = new Date();
|
||||
const e: PresenceExport = {
|
||||
playerId: this.#profile.getId(),
|
||||
@@ -127,7 +131,6 @@ export class ServerPresenceBase extends ServerContentBase {
|
||||
this.#intervalId = setInterval(() => {
|
||||
if (this.#presenceMap.size === 0) return;
|
||||
|
||||
this.#log.i('Clearing dead presences');
|
||||
this.#deleteDeadPresences();
|
||||
}, 300_000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user