diff --git a/maps/mp/gametypes/hns.gsc b/maps/mp/gametypes/hns.gsc index c09905a..26e5723 100644 --- a/maps/mp/gametypes/hns.gsc +++ b/maps/mp/gametypes/hns.gsc @@ -677,7 +677,7 @@ handleHider() { player GivePerk("specialty_marathon"); } -setDisguiseModel(model, normalHealth) +setDisguiseModel(model) { logPrint("setDisguiseModel called"); @@ -703,15 +703,6 @@ setDisguiseModel(model, normalHealth) if (IsDefined(game["hiders_changed_sound"])) player PlaySound(game["hiders_changed_sound"]); - - if (IsDefined(normalHealth)) - { - healthfrac = player.health / player.maxhealth; - newhealth = healthfrac * normalHealth; - player.health = newhealth; - player.maxhealth = normalHealth; - } - // Seems like changing model causes weapons to be reloaded player TakeAllWeapons();