mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-10 16:14:45 +00:00
okay nvm
This commit is contained in:
parent
b26832f65b
commit
eae2cf3c25
@ -72,7 +72,6 @@ internal class TimeSyncUI : MonoBehaviour, IAddComponentOnStart
|
||||
Canvas.willRenderCanvases += OnWillRenderCanvases;
|
||||
|
||||
// silly hack that shouldnt be in the ui component but oh well
|
||||
// TODO may have to wait a frame cuz Locator?
|
||||
Locator.GetPlayerTransform().GetComponent<PlayerResources>()._invincible = true;
|
||||
Locator.GetDeathManager()._invincible = true;
|
||||
var shipTransform = Locator.GetShipTransform();
|
||||
@ -90,7 +89,6 @@ internal class TimeSyncUI : MonoBehaviour, IAddComponentOnStart
|
||||
Canvas.willRenderCanvases -= OnWillRenderCanvases;
|
||||
|
||||
// silly hack that shouldnt be in the ui component but oh well
|
||||
// TODO may have to wait a frame cuz Locator?
|
||||
Locator.GetPlayerTransform().GetComponent<PlayerResources>()._invincible = false;
|
||||
Locator.GetDeathManager()._invincible = false;
|
||||
var shipTransform = Locator.GetShipTransform();
|
||||
|
Loading…
x
Reference in New Issue
Block a user