1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-28 23:54:36 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-05-30 18:32:39 +09:00
parent c343ccbdff
commit 5da458ca54

View File

@@ -67,6 +67,7 @@ export class RoomEngine extends EngineBase<{
'changeGridSnapping': (ctx: { gridSnapping: { enabled: boolean; scale: number } }) => void;
'changeRoomState': (ctx: { roomState: RoomState }) => void;
'changeMyPlayerState': (ctx: PlayerState) => void;
'playerPointed': (ctx: { playerId: string; }) => void;
'playSfxUrl': (ctx: {
url: string;
options: {
@@ -473,6 +474,7 @@ export class RoomEngine extends EngineBase<{
if (playerId != null && this.playerContainers.some(c => c.id === playerId)) {
const c = this.playerContainers.find(c => c.id === playerId)!;
this.look(c.root.position);
this.ev('playerPointed', { playerId });
return;
}
}