mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-03 04:34:26 -07:00
1.1.0 release! many new features.
This commit is contained in:
@@ -16,6 +16,15 @@ namespace TNHQoLImprovements
|
||||
private static Transform[] hands;
|
||||
private static GameObject tnhInfo;
|
||||
|
||||
public static bool InHold()
|
||||
{
|
||||
if (tnhManager == null)
|
||||
return false;
|
||||
|
||||
return tnhManager.Phase == TNH_Phase.Hold;
|
||||
}
|
||||
|
||||
// Bring extra info into game over
|
||||
public static void Patch(Harmony harmony)
|
||||
{
|
||||
var original = typeof(TNH_Manager).GetMethod("SetPhase", BindingFlags.NonPublic | BindingFlags.Instance);
|
||||
@@ -38,7 +47,6 @@ namespace TNHQoLImprovements
|
||||
}
|
||||
}
|
||||
|
||||
// Use this for initialization
|
||||
void Start()
|
||||
{
|
||||
tnhManager = GameObject.Find("_GameManager").GetComponent<TNH_Manager>();
|
||||
|
||||
Reference in New Issue
Block a user