update debug settings in readme

This commit is contained in:
JohnCorby 2023-11-14 14:12:28 -08:00
parent 7309b67af8
commit aece040815
2 changed files with 2 additions and 5 deletions

View File

@ -81,7 +81,6 @@ The template for this file is this :
"drawGui": false,
"drawLines": false,
"drawLabels": false,
"drawQuantumVisibilityObjects": false,
"drawGhostAI": false,
"greySkybox": false
}
@ -98,6 +97,5 @@ The template for this file is this :
- drawGui - Draws a GUI at the top of the screen that gives information on many things.
- drawLines - Draws gizmo-esque lines around things. Indicates reference sectors/transforms, triggers, etc. LAGGY.
- drawLabels - Draws GUI labels attached to some objects. LAGGY.
- drawQuantumVisibilityObjects - Indicates visibility objects with an orange shape.
- drawGhostAI - Draws debug lines and labels just for the ghosts.
- greySkybox - Turns the skybox grey. Useful in the Eye, where it's pretty dark.

View File

@ -87,7 +87,7 @@ public class AlarmTotemPatches : QSBPatch
var isPlayerVisible = __instance._isPlayerVisible;
__instance._isPlayerVisible = __instance.CheckPlayerVisible();
if (__instance._isPlayerVisible && !isPlayerVisible)
if (!isPlayerVisible && __instance._isPlayerVisible)
{
Locator.GetAlarmSequenceController().IncreaseAlarmCounter();
__instance._secondsConcealed = 0f;
@ -97,8 +97,7 @@ public class AlarmTotemPatches : QSBPatch
GlobalMessenger.FireEvent("AlarmTotemTriggered");
qsbAlarmTotem.SendMessage(new SetVisibleMessage(true));
}
if (isPlayerVisible && !__instance._isPlayerVisible)
else if (isPlayerVisible && !__instance._isPlayerVisible)
{
Locator.GetAlarmSequenceController().DecreaseAlarmCounter();
__instance._secondsConcealed = 0f;