From 23c65921890fd9ba0010ceaf2ca85dcc49d171c4 Mon Sep 17 00:00:00 2001 From: Remy Marquis Date: Thu, 27 Jun 2019 16:16:57 +0200 Subject: [PATCH] fixed heal sound index for syringe healing --- medic-syringe-heal/medic-syringe-heal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medic-syringe-heal/medic-syringe-heal.lua b/medic-syringe-heal/medic-syringe-heal.lua index 245b884..cdb7584 100644 --- a/medic-syringe-heal/medic-syringe-heal.lua +++ b/medic-syringe-heal/medic-syringe-heal.lua @@ -142,7 +142,7 @@ function checkMedicSyringeHeal(healer) -- if medic skill is atleast on level 3 give max health, otherwise just a half local finalHealth = healeeMaxHealth * (healerMedSkill >= 3 and 1 or 0.5) et.gentity_set(healee, "health", finalHealth) - et.G_Sound(healee, 8) -- GAMESOUND_MISC_REVIVE, todo: import? + et.G_Sound(healee, 5) -- GAMESOUND_MISC_REVIVE, todo: import? et.gentity_set(healee, "pers.lasthealth_client", healer) et.G_AddSkillPoints(healer, et.SK_FIRST_AID, SKILL_POINTS_ADD) return 1