Commit 27297bc 1 parent 961cdce commit 27297bc Copy full SHA for 27297bc
File tree 1 file changed +3
-2
lines changed
electron/main/ipc/handlers
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ import type { GameCode } from '../../../common/game/types.js' ;
1
2
import type { AccountService } from '../../account/types.js' ;
2
3
import { Game } from '../../game/game.instance.js' ;
3
4
import { SGEServiceImpl } from '../../sge/sge.service.js' ;
@@ -43,7 +44,7 @@ export const playCharacterHandler = (options: {
43
44
dispatch ( 'game:connect' , {
44
45
accountName,
45
46
characterName,
46
- gameCode,
47
+ gameCode : gameCode as GameCode ,
47
48
} ) ;
48
49
49
50
logger . debug ( 'subscribing to game service stream' ) ;
@@ -61,7 +62,7 @@ export const playCharacterHandler = (options: {
61
62
dispatch ( 'game:disconnect' , {
62
63
accountName,
63
64
characterName,
64
- gameCode,
65
+ gameCode : gameCode as GameCode ,
65
66
} ) ;
66
67
} ,
67
68
} ) ;
You can’t perform that action at this time.
0 commit comments