0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 05:30:43 -05:00

Fixed incorrect DisablePvEPatch tooltip text

This commit is contained in:
Dev 2024-05-21 20:18:09 +01:00
parent 4ee47b25d5
commit 4a452876ff

View File

@ -21,7 +21,7 @@ namespace SPT.Custom.Patches
private static bool PatchPrefix(ESessionMode sessionMode, Profile profile, ref GameObject ____notAvailableState) private static bool PatchPrefix(ESessionMode sessionMode, Profile profile, ref GameObject ____notAvailableState)
{ {
____notAvailableState.SetActive(true); ____notAvailableState.SetActive(true);
Object.FindObjectsOfType<HoverTooltipArea>().Where(o => o.name == "Locked").SingleOrDefault()?.SetMessageText("<color=#51c6db>SPT-SPT</color> is already PvE."); Object.FindObjectsOfType<HoverTooltipArea>().Where(o => o.name == "Locked").SingleOrDefault()?.SetMessageText("<color=#51c6db>SPT</color> is already PvE.");
return false; return false;
} }