3D working
This commit is contained in:
@ -75,7 +75,7 @@ class Game
|
||||
* @type {GameConfig}
|
||||
*/
|
||||
this.config = new GameConfig(this.client);
|
||||
|
||||
|
||||
|
||||
let ret = await this.config.init();
|
||||
if (ret !== 0)
|
||||
@ -186,7 +186,7 @@ class Game
|
||||
this.walls = [];
|
||||
const walls_data = data.walls;
|
||||
walls_data.forEach((wall_data) => {
|
||||
this.walls.push(new Wall().from_json(wall_data));
|
||||
this.walls.push(new Wall(this).from_json(wall_data));
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user