[LocalizedStrings]: Replacing the 'pause' key on the 'togglemenu' key for hints.
This commit is contained in:
parent
45bedf0918
commit
b59547e386
@ -227,6 +227,11 @@ namespace Components
|
||||
Game::GfxImage* image = Game::DB_FindXAssetHeader(Game::ASSET_TYPE_IMAGE, "minimap_tickertape_ru").image;
|
||||
material->textureTable->u.image = image;
|
||||
}
|
||||
|
||||
// Replace the 'pause' key on the 'togglemenu' key for all localizations!
|
||||
std::string localizeHint = LocalizedStrings::Get("KILLHOUSE_HINT_CHECK_OBJECTIVES_PAUSED");
|
||||
Utils::String::Replace(localizeHint, "pause", "togglemenu");
|
||||
LocalizedStrings::Set("KILLHOUSE_HINT_CHECK_OBJECTIVES_PAUSED", localizeHint.data());
|
||||
});
|
||||
|
||||
Utils::Hook(0x5C7089, DB_LoadLevelXAssets, HOOK_CALL).install()->quick();
|
||||
|
Loading…
x
Reference in New Issue
Block a user