From 38936869cc799c4ba2ecad0e085dc488bcb14813 Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Fri, 4 Feb 2022 05:21:16 +0200 Subject: [PATCH] branding specification --- src/client/component/branding.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/client/component/branding.cpp b/src/client/component/branding.cpp index 060eaa91..6e981794 100644 --- a/src/client/component/branding.cpp +++ b/src/client/component/branding.cpp @@ -17,10 +17,18 @@ namespace branding public: void post_unpack() override { - //localized_strings::override("MENU_SP_CAMPAIGN", "COD DEVELOPER COMPANION"); - localized_strings::override("LUA_MENU_MULTIPLAYER_CAPS", "H1-Mod: MULTIPLAYER\n"); - localized_strings::override("MENU_MULTIPLAYER_CAPS", "H1-Mod: MULTIPLAYER"); - localized_strings::override("PLATFORM_UI_HEADER_PLAY_MP_CAPS", "H1-ONLINE"); + + if (game::environment::is_dedi()) + { + return; + } + + if (game::environment::is_mp) + { + localized_strings::override("LUA_MENU_MULTIPLAYER_CAPS", "H1-Mod: MULTIPLAYER\n"); + localized_strings::override("MENU_MULTIPLAYER_CAPS", "H1-Mod: MULTIPLAYER"); + localized_strings::override("PLATFORM_UI_HEADER_PLAY_MP_CAPS", "H1-ONLINE"); + } scheduler::loop([]() {