mirror of
https://github.com/AndrioCelos/TableturfBattleApp.git
synced 2026-04-23 09:07:21 -05:00
Fix incorrect start space during deck editor test
This commit is contained in:
parent
708ad27356
commit
496ac59af4
|
|
@ -97,6 +97,7 @@ function initTest(stage: Stage) {
|
|||
currentGame = { id: 'test', maxPlayers: 2, players: [ ], webSocket: null, turnNumber: 1, me: { playerIndex: 0, move: null, deck: null, hand: null, cardsUsed: [ ] } };
|
||||
board.resize(stage.copyGrid());
|
||||
const startSpaces = stage.getStartSpaces(2);
|
||||
board.startSpaces = startSpaces;
|
||||
for (let i = 0; i < 2; i++)
|
||||
board.grid[startSpaces[i].x][startSpaces[i].y] = Space.SpecialInactive1 | i;
|
||||
board.refresh();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user