Enforce ordinary auction bidding deadlines online

This commit is contained in:
Quintine committed 2026-10-27 00:07:15 +11:00
1 parent f76c8dfb93
commit f548039cd8
17 files changed
+1363 -33

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@ export function loadRoomContinuation(
rooms: Pick<
typeof Rooms,
'continueRoomAutomatic' | 'continueRoomBots'
>,
> & Partial<Pick<typeof Rooms, 'continueRoomAuctionClock'>>,
) {
const exports = {};
runInNewContext(
@@ -28,7 +28,7 @@ export function loadRoomContinuation(
{
exports,
require: (name: string) => {
if (name === './rooms') return rooms;
if (name === './rooms') return { continueRoomAuctionClock: async () => false, ...rooms };
throw new Error('Unexpected continuation dependency ' + name);
},
},