From b51d2d45dbf60bd76b35f3f74b19abc3a672f245 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Wed, 23 Jun 2021 21:44:18 +0100 Subject: [PATCH] fix respawn prompt not appearing --- QSB/DeathSync/Patches/RespawnPatches.cs | 2 +- QSB/Player/PlayerInfo.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QSB/DeathSync/Patches/RespawnPatches.cs b/QSB/DeathSync/Patches/RespawnPatches.cs index b3b81c70..bc049de9 100644 --- a/QSB/DeathSync/Patches/RespawnPatches.cs +++ b/QSB/DeathSync/Patches/RespawnPatches.cs @@ -131,7 +131,7 @@ namespace QSB.DeathSync.Patches if (canBeInteractedWith) { - if (RespawnManager.Instance.RespawnNeeded) + if (RespawnManager.Instance.RespawnNeeded && !playerNeedsRefueling && !playerNeedsHealing) { RespawnManager.Instance.RespawnSomePlayer(); return false; diff --git a/QSB/Player/PlayerInfo.cs b/QSB/Player/PlayerInfo.cs index 4528851d..d66f085b 100644 --- a/QSB/Player/PlayerInfo.cs +++ b/QSB/Player/PlayerInfo.cs @@ -24,7 +24,7 @@ namespace QSB.Player public GameObject CameraBody { get; set; } public GameObject Body { get; set; } public GameObject RoastingStick { get; set; } - public bool Visible { get; set; } + public bool Visible { get; set; } = true; // Tools public GameObject ProbeBody { get; set; }