Release Healer Man 0.1.21

This commit is contained in:
phenom committed 2026-09-08 10:40:26 -04:00
1 parent 699fc858c9
commit f6f2375145
210 files changed
+976039 -6247

No files matched your search

+15
View File
@@ -9,6 +9,7 @@ import {
onlineSessionOwnsWorldSimulation,
onlineSynchronizedMobTransform,
requestOnlineInteraction,
publishOnlinePartyTeleport,
} from "./onlineSessionRuntime";
const remotePlayer: OnlineSessionPlayer = {
@@ -75,4 +76,18 @@ describe("online session runtime", () => {
]);
expect(drainOnlineInteractions()).toEqual([]);
});
it("queues party transitions only for the activity authority", () => {
configureOnlineSessionRuntime({ active: true, authority: false, localAccountId: "local" });
expect(publishOnlinePartyTeleport([1, 2, 3], "cross-door", 50)).toBe(false);
configureOnlineSessionRuntime({ active: true, authority: true, localAccountId: "local" });
expect(publishOnlinePartyTeleport([1, 2, 3], "cross-door", 50)).toBe(true);
expect(drainOnlineInteractions()).toEqual([
expect.objectContaining({
kind: "party-teleport",
targetActorId: "party",
position: [1, 2, 3],
}),
]);
});
});