fix updated 4th arg of G_AddSkillPoints function

This commit is contained in:
Aranud 2024-03-19 16:23:00 +01:00 committed by GitHub
parent c4fc08e459
commit 0d06bb7805
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@
]]-- ]]--
local modname = "medic-syringe-heal" local modname = "medic-syringe-heal"
local version = "0.3" local version = "0.4"
-- local constants -- local constants
@ -139,7 +139,7 @@ function checkMedicSyringeHeal(healer)
et.gentity_set(healee, "health", finalHealth) et.gentity_set(healee, "health", finalHealth)
et.G_Sound(healee, 8) -- GAMESOUND_MISC_REVIVE, todo: import? et.G_Sound(healee, 8) -- GAMESOUND_MISC_REVIVE, todo: import?
et.gentity_set(healee, "pers.lasthealth_client", healer) et.gentity_set(healee, "pers.lasthealth_client", healer)
et.G_AddSkillPoints(healer, et.SK_FIRST_AID, SKILL_POINTS_ADD) et.G_AddSkillPoints(healer, et.SK_FIRST_AID, SKILL_POINTS_ADD, "healing")
return 1 return 1
end end