From 29c2370eef6abd77644c615863b4c800db7a31dc Mon Sep 17 00:00:00 2001 From: Athebyne <30442287+f-raZ0R@users.noreply.github.com> Date: Sun, 26 Jan 2025 17:06:17 -0500 Subject: [PATCH] Make Heat Zone Damage Sound play if you have Gravity again --- src/open_samus_returns_rando/files/custom/heatzone.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/open_samus_returns_rando/files/custom/heatzone.lua b/src/open_samus_returns_rando/files/custom/heatzone.lua index 38b4a466..0bc2e376 100644 --- a/src/open_samus_returns_rando/files/custom/heatzone.lua +++ b/src/open_samus_returns_rando/files/custom/heatzone.lua @@ -16,7 +16,7 @@ function HeatZone.PlaySound() end function HeatZone.OnEnter() - if Game.GetPlayerInfo().iHeatZoneCount == 0 and Game.GetEntity("Samus").MODELUPDATER.sModelAlias == "Default" then + if Game.GetPlayerInfo().iHeatZoneCount == 0 and Game.GetVariaSuitOn() < 1 then Game.AddSF(0.0, "HeatZone.PlaySound", "") guicallbacks.OnPlayerContinuousDamageStart() utils.LOG(utils.LOGTYPE_LOGIC, "heatzoneenter") @@ -37,4 +37,4 @@ function HeatZone.OnExit() elseif Game.GetPlayerInfo().iHeatZoneCount < 0 then Game.GetPlayerInfo():ResetHeatZoneCount() end -end \ No newline at end of file +end