Dim Dim 6 жил өмнө
parent
commit
fe4ee8d057

+ 1 - 1
src/Game/views/Menu.js

@@ -7,7 +7,7 @@ class Menu extends PIXI.Container{
 		this.stage = app.stage;
 		this.buttons = require('./menuConfigs/'+config).default || [];
 		this.calculatePositions();
-		this.buttons.forEach((e,i) => this.addChild(e));
+		this.buttons.forEach((e) => this.addChild(e));
 		this.test = "dsa";
 		this.position.set(app.screen.width/2, app.screen.height/2);
 	}