mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Lava is different from Energy
This commit is contained in:
parent
b0faebf85f
commit
f7bad48235
@ -18,7 +18,7 @@ namespace NewHorizons.OtherMods.AchievementsPlus.NH
|
|||||||
|
|
||||||
public static void OnPlayerDeath(DeathType deathType)
|
public static void OnPlayerDeath(DeathType deathType)
|
||||||
{
|
{
|
||||||
if (deathType == DeathType.Energy && Locator.GetPlayerDetector().GetComponent<FluidDetector>()._activeVolumes.Any(fluidVolume => fluidVolume is TornadoFluidVolume or TornadoBaseFluidVolume or HurricaneFluidVolume))
|
if (deathType == DeathType.Lava && Locator.GetPlayerDetector().GetComponent<FluidDetector>()._activeVolumes.Any(fluidVolume => fluidVolume is TornadoFluidVolume or TornadoBaseFluidVolume or HurricaneFluidVolume))
|
||||||
{
|
{
|
||||||
AchievementHandler.Earn(UNIQUE_ID);
|
AchievementHandler.Earn(UNIQUE_ID);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user