From e5e57c1df83af6da32386729ebac9b9c09f71b19 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Fri, 1 Apr 2022 21:51:35 -0700 Subject: [PATCH] i am smart --- .../AlarmTotemSync/WorldObjects/QSBAlarmTotem.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/QSB/EchoesOfTheEye/AlarmTotemSync/WorldObjects/QSBAlarmTotem.cs b/QSB/EchoesOfTheEye/AlarmTotemSync/WorldObjects/QSBAlarmTotem.cs index 92c0ee36..77487306 100644 --- a/QSB/EchoesOfTheEye/AlarmTotemSync/WorldObjects/QSBAlarmTotem.cs +++ b/QSB/EchoesOfTheEye/AlarmTotemSync/WorldObjects/QSBAlarmTotem.cs @@ -97,25 +97,10 @@ public class QSBAlarmTotem : WorldObject _isLocallyVisible = CheckPlayerVisible(); if (_isLocallyVisible && !isLocallyVisible) { - Locator.GetAlarmSequenceController().IncreaseAlarmCounter(); - AttachedObject._simTotemMaterials[0] = AttachedObject._simAlarmMaterial; - AttachedObject._simTotemRenderer.sharedMaterials = AttachedObject._simTotemMaterials; - AttachedObject._simVisionConeRenderer.SetColor(AttachedObject._simAlarmColor); - if (AttachedObject._isTutorialTotem) - { - GlobalMessenger.FireEvent("TutorialAlarmTotemTriggered"); - } - this.SendMessage(new SetVisibleMessage(true)); } else if (isLocallyVisible && !_isLocallyVisible) { - Locator.GetAlarmSequenceController().DecreaseAlarmCounter(); - AttachedObject._simTotemMaterials[0] = AttachedObject._origSimEyeMaterial; - AttachedObject._simTotemRenderer.sharedMaterials = AttachedObject._simTotemMaterials; - AttachedObject._simVisionConeRenderer.SetColor(AttachedObject._simVisionConeRenderer.GetOriginalColor()); - AttachedObject._pulseLightController.FadeTo(0f, 0.5f); - this.SendMessage(new SetVisibleMessage(false)); } }