load single game for fixing
This commit is contained in:
parent
709f90b5cf
commit
11e5c08154
2 changed files with 37 additions and 30 deletions
|
|
@ -3,7 +3,7 @@ import GameCommon from '../common/GameCommon.js'
|
|||
import Game from '../server/Game.js'
|
||||
|
||||
function fix_tiles(gameId) {
|
||||
Game.loadAllGames()
|
||||
Game.loadGame(gameId)
|
||||
let changed = false
|
||||
const tiles = GameCommon.getTilesSortedByZIndex(gameId)
|
||||
for (let tile of tiles) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue