mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Webatrice: card import wizard (#4397)
This commit is contained in:
parent
dde0f568d9
commit
36e5a399d5
41 changed files with 1479 additions and 35 deletions
|
|
@ -31,8 +31,12 @@ export default class RoomService {
|
|||
const game = gameList[0];
|
||||
|
||||
if (!game.gameType) {
|
||||
const { gametypeMap } = RoomsSelectors.getRoom(store.getState(), roomId);
|
||||
NormalizeService.normalizeGameObject(game, gametypeMap);
|
||||
const room = RoomsSelectors.getRoom(store.getState(), roomId);
|
||||
|
||||
if (room) {
|
||||
const { gametypeMap } = room;
|
||||
NormalizeService.normalizeGameObject(game, gametypeMap);
|
||||
}
|
||||
}
|
||||
|
||||
RoomsDispatch.updateGames(roomId, gameList);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue