This commit is contained in:
JohnCorby 2022-11-17 17:41:16 -08:00
parent 1658bb8fcb
commit 78e2ce436c

View File

@ -21,8 +21,10 @@ public class QSBAlarmTotem : AuthWorldObject<AlarmTotem>
/// <summary>
/// i love copy pasting
/// </summary>
public void SetVisible(bool isPlayerVisible)
public void SetVisible(bool visible)
{
var isPlayerVisible = AttachedObject._isPlayerVisible;
AttachedObject._isPlayerVisible = visible;
if (!isPlayerVisible && AttachedObject._isPlayerVisible)
{
Locator.GetAlarmSequenceController().IncreaseAlarmCounter();