mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-06 09:39:52 +00:00
funny moment
This commit is contained in:
parent
140d42cabd
commit
7867f2ef11
@ -87,6 +87,8 @@ public class RespawnOnDeath : MonoBehaviour
|
|||||||
|
|
||||||
_playerResources._isSuffocating = false;
|
_playerResources._isSuffocating = false;
|
||||||
_playerResources.DebugRefillResources();
|
_playerResources.DebugRefillResources();
|
||||||
|
// death by oxygen turns this off, so we gotta enable it again
|
||||||
|
Delay.RunNextFrame(() => _playerResources.enabled = true);
|
||||||
_spaceSuit.RemoveSuit(true);
|
_spaceSuit.RemoveSuit(true);
|
||||||
|
|
||||||
foreach (var pickupVolume in _suitPickupVolumes)
|
foreach (var pickupVolume in _suitPickupVolumes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user