diff --git a/server/src/utils/DataContext.ts b/server/src/utils/DataContext.ts index 654a9714..bd15abc0 100644 --- a/server/src/utils/DataContext.ts +++ b/server/src/utils/DataContext.ts @@ -36,6 +36,9 @@ export class DataContext { get flightClient() { return this.findFlightClient(this.clientId); } + get isHost() { + return this.client.isHost; + } findFlightClient(clientId: string) { if (!this.database.flight) return null; if (!this.database.flight.clients[clientId]) {