Update WorldMultiplayService.ts

This commit is contained in:
syuilo
2026-07-31 15:16:41 +09:00
parent 216651bc99
commit 044b6522e5
@@ -46,7 +46,7 @@ export class WorldMultiplayService {
@bindThis
public async enter(userId: MiUser['id'], spaceKey: string) {
console.log('enter', { userId, spaceKey: spaceKey });
// TODO: 同じユーザーが同時に複数のspacedに入れないようにする
// TODO: atomicにやる
const currentPlayers = await this.redisClient.hlen(`world:${spaceKey}:players`);