mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 08:50:43 -05:00
Fixed incorrect DisablePvEPatch
tooltip text
This commit is contained in:
parent
4ee47b25d5
commit
4a452876ff
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user