my power's back
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 1m57s
All checks were successful
Galvanic Corrosion Cross-Compile / build (push) Successful in 1m57s
* Steam authentication * Profile events * Objective fixes for some rooms (reccenter, goldentrophy, etc) * Profile meta (displayname) somewhat works * Player socket subscriptions
This commit is contained in:
@@ -20,6 +20,7 @@ import UnifiedProfile, { Profile } from "../profiles.ts";
|
||||
import { RoomInstance, InstanceOptions } from "./types.ts";
|
||||
import { Config } from "../../config.ts";
|
||||
import Presence from "./presence.ts";
|
||||
import { RoomFactory } from "../content/rooms/RoomFactory.ts";
|
||||
|
||||
const log = new Logging("Instances");
|
||||
|
||||
@@ -177,6 +178,9 @@ class InstancesBase {
|
||||
|
||||
this.updateSingleInstanceIsFull(instance);
|
||||
} else log.w(`Instance ${instance.roomInstanceId} is full. Cannot add player ${player.getId()}`);
|
||||
|
||||
const room = await new RoomFactory({ id: instance.roomId }).init();
|
||||
await room?.addVisit();
|
||||
}
|
||||
|
||||
playerIsInInstance(player: Profile, instance: RoomInstance) {
|
||||
|
||||
Reference in New Issue
Block a user