瀏覽代碼

fix: incorrect custom menu label being displayed

lairaalmas 1 月之前
父節點
當前提交
c4f1b5a37e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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];
   },