From d97951ed91a3bad4c8650888b99d5e629a64bfef Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Fri, 25 Feb 2022 04:53:53 -0800 Subject: [PATCH] turn off flashlight on death, lol --- QSB/DeathSync/RespawnOnDeath.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/QSB/DeathSync/RespawnOnDeath.cs b/QSB/DeathSync/RespawnOnDeath.cs index 6f85fc5a..4d5a2f6f 100644 --- a/QSB/DeathSync/RespawnOnDeath.cs +++ b/QSB/DeathSync/RespawnOnDeath.cs @@ -1,4 +1,5 @@ using OWML.Common; +using QSB.Player; using QSB.Player.TransformSync; using QSB.RespawnSync; using QSB.Utility; @@ -102,6 +103,8 @@ public class RespawnOnDeath : MonoBehaviour } } } + + QSBPlayerManager.LocalPlayer.LocalFlashlight.TurnOff(false); } private SpawnPoint GetSpawnPoint()