Explorar o código

fix: incorrect custom menu label being displayed

lairaalmas hai 2 meses
pai
achega
c4f1b5a37e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/menus/menu_custom.js

+ 1 - 1
js/menus/menu_custom.js

@@ -483,7 +483,7 @@ const customMenuState = {
    * @param {object} icon icon for the game mode
    */
   showTitle: function (icon) {
-    if (icon.iconType !== 'infoIcon')
+    if (icon.iconType !== 'infoIcon' && icon.iconType !== 'enter')
       self.lbl_description.name = game.lang[icon.description];
   },