Skip to content

Commit

Permalink
Play damagesound only if Power Suit
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Oct 13, 2023
1 parent 4e7d698 commit 9074d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_samus_returns_rando/files/heatzone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function HeatZone.PlaySound()
end

function HeatZone.OnEnter()
if Game.GetPlayerInfo().iHeatZoneCount == 0 and Game.GetVariaSuitOn() < 1 then
if Game.GetPlayerInfo().iHeatZoneCount == 0 and Game.GetEntity("Samus").MODELUPDATER.sModelAlias == "Default" then
Game.AddSF(0.0, "HeatZone.PlaySound", "")
guicallbacks.OnPlayerContinuousDamageStart()
utils.LOG(utils.LOGTYPE_LOGIC, "heatzoneenter")
Expand Down

0 comments on commit 9074d99

Please sign in to comment.