Hide nonfunctional game modifications tab

This commit is contained in:
2024-03-12 09:30:51 -05:00
parent 3f7ec2fb5c
commit e035b1ed58
3 changed files with 7 additions and 5 deletions

View File

@@ -232,8 +232,10 @@ class W3DHub
end
unless Store.offline_mode
menu_item(I18n.t(:"games.game_modifications")) do
populate_game_modifications(game, channel)
if W3DHUB_DEVELOPER
menu_item(I18n.t(:"games.game_modifications")) do
populate_game_modifications(game, channel)
end
end
if game.id != "ren"