rename function

This commit is contained in:
Zutatensuppe 2021-04-30 09:09:10 +02:00
parent 85e9d14b02
commit 56f35e987b
3 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ import Game from '../server/Game.js'
const log = logger('fix_tiles.js')
function fix_tiles(gameId) {
Game.loadGame(gameId)
Game.loadGameFromFile(gameId)
let changed = false
const tiles = GameCommon.getTilesSortedByZIndex(gameId)
for (let tile of tiles) {