mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
instant suit up
This commit is contained in:
parent
5dcdd6a882
commit
06234a2079
@ -96,6 +96,7 @@ namespace NewHorizons.Builder.General
|
||||
suitUpQueued = false;
|
||||
if (!Locator.GetPlayerController()._isWearingSuit)
|
||||
{
|
||||
Locator.GetPlayerSuit().SuitUp(false, true, true);
|
||||
var spv = SearchUtilities.Find("Ship_Body/Module_Supplies/Systems_Supplies/ExpeditionGear")?.GetComponent<SuitPickupVolume>();
|
||||
if (spv != null)
|
||||
{
|
||||
@ -111,10 +112,6 @@ namespace NewHorizons.Builder.General
|
||||
handler.Method.Invoke(handler.Target, new object[] { command });
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Locator.GetPlayerTransform().GetComponent<PlayerSpacesuit>().SuitUp(false, true, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user