From a0d31b76cc1740b5f84432223e3c509f14b4309a Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Mon, 2 Jan 2023 10:08:17 +0000 Subject: [PATCH] Fix respawn issue when dlc is not owned --- QSB/DeathSync/RespawnOnDeath.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/QSB/DeathSync/RespawnOnDeath.cs b/QSB/DeathSync/RespawnOnDeath.cs index dc58ce44..a6b9a451 100644 --- a/QSB/DeathSync/RespawnOnDeath.cs +++ b/QSB/DeathSync/RespawnOnDeath.cs @@ -233,6 +233,11 @@ public class RespawnOnDeath : MonoBehaviour private void ResetCloak() { + if (EntitlementsManager.IsDlcOwned() != EntitlementsManager.AsyncOwnershipStatus.Owned) + { + return; + } + var cloak = Locator.GetCloakFieldController(); cloak._playerInsideCloak = false; cloak._playerCloakFactor = 0f;