Skip to content

Commit

Permalink
Fix imports in build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
unshame committed Jan 7, 2024
1 parent 1f8361f commit 4296ce8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<script src="js/UI/Menu/MenuElement.js"></script>
<script src="js/UI/Menu/MenuAdd.js"></script>
<script src="js/UI/Menu/MenuFader.js"></script>
<script src="js/UI/Menu/menus/menus.js"></script>
<script src="js/UI/Menu/menus/LobbyBrowser.js"></script>
<script src="js/UI/Menu/menus/LobbyCreator.js"></script>
<script src="js/UI/Menu/menus/OptionsMenu.js"></script>
Expand Down
12 changes: 3 additions & 9 deletions public/js/UI/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ var Menu = function(options){
*/
this._elementTypeMap = this._getTypeMap();

ui.layers.addExistingLayer(this, this.options.z);
ui.layers.addExistingLayer(this, this.options.z);

if(this.options.header){
this.header = game.add.text(0, 0, this.options.header, {fill: this.options.headerTextColor, font: '22px Exo, Helvetica'}, this);
Expand All @@ -112,7 +112,7 @@ var Menu = function(options){

extend(Menu, Phaser.Group);

/**
/**
* Опции по умолчанию
* @return {object} опции
*/
Expand Down Expand Up @@ -150,10 +150,4 @@ Menu.prototype.getDefaultOptions = function(){
//@include:MenuElement
//@include:MenuAdd
//@include:MenuFader

//@include:menus\LobbyBrowser
//@include:menus\LobbyCreator
//@include:menus\OptionsMenu
//@include:menus\NamePicker
//@include:menus\LobbyMenu
//@include:menus\Rules
//@include:menus
6 changes: 6 additions & 0 deletions public/js/UI/Menu/menus/menus.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//@include:LobbyBrowser
//@include:LobbyCreator
//@include:OptionsMenu
//@include:NamePicker
//@include:LobbyMenu
//@include:Rules

0 comments on commit 4296ce8

Please sign in to comment.