Update import
This commit is contained in:
parent
b9c9154f00
commit
6a3f15d718
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ that the host is able to just send that to the other players
|
||||||
import { Server, Socket } from 'socket.io';
|
import { Server, Socket } from 'socket.io';
|
||||||
import { Game } from '../utils/Game';
|
import { Game } from '../utils/Game';
|
||||||
import { active_games, log } from '../main';
|
import { active_games, log } from '../main';
|
||||||
import { generate_game_code } from '../utils/gamecode';
|
import { generate_game_code } from '../utils/ids';
|
||||||
|
|
||||||
export const HostGame = (io: Server, socket: Socket, data: HostGame) => {
|
export const HostGame = (io: Server, socket: Socket, data: HostGame) => {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue