mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
Fix respawn issue when dlc is not owned
This commit is contained in:
parent
b5e071c68e
commit
a0d31b76cc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user