Skip to content

Commit

Permalink
fix: Invisibility and No Fall Damage "deactivated" message
Browse files Browse the repository at this point in the history
  • Loading branch information
igromanru committed Oct 6, 2024
1 parent 49515a3 commit 97f2aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/Features.lua
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function Invisible(myPlayer)
InvisibleWasEnabled = false
myPlayer.InvincibleToNPCs = false
LogDebug("InvincibleToNPCs:", myPlayer.InvincibleToNPCs)
AFUtils.ClientDisplayWarningMessage("Invisibility activated", AFUtils.CriticalityLevels.Red)
AFUtils.ClientDisplayWarningMessage("Invisibility deactivated", AFUtils.CriticalityLevels.Red)
end
end

Expand All @@ -441,7 +441,7 @@ function NoFallDamage(myPlayer)
NoFallDamageWasEnabled = false
myPlayer.TakeFallDamage = true
LogDebug("TakeFallDamage: " .. tostring(myPlayer.TakeFallDamage))
AFUtils.ClientDisplayWarningMessage("No Fall Damage activated", AFUtils.CriticalityLevels.Red)
AFUtils.ClientDisplayWarningMessage("No Fall Damage deactivated", AFUtils.CriticalityLevels.Red)
end
end

Expand Down

0 comments on commit 97f2aa3

Please sign in to comment.