fix respawn prompt not appearing

This commit is contained in:
Mister_Nebula 2021-06-23 21:44:18 +01:00
parent f915b0e294
commit b51d2d45db
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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; }