Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vck3000 committed Jan 26, 2024
1 parent 10d5934 commit 8435994
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gameplay/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class Game extends Room {
// Used for bots to callback moves
interval: NodeJS.Timeout;

botSockets: any;

constructor(
host_,
roomId_,
Expand Down
5 changes: 5 additions & 0 deletions src/gameplay/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
import { AVALON, AVALON_BOT, GAME_MODE_NAMES, gameModeObj } from './gameModes';
import commonPhasesIndex from './indexCommonPhases';
import usernamesIndexes from '../myFunctions/usernamesIndexes';
import { SocketUser } from '../sockets/types';

class Room {
host: string;
roomId: number;
allSockets: SocketUser[];
socketsOfPlayers: SocketUser[];
botSockets: Socket[];

constructor(
host_: string,
Expand Down

0 comments on commit 8435994

Please sign in to comment.