willithappen / eams

Easy ArmA Medical System
Other
2 stars 0 forks source link

BUG: Epi pens not being consumed on stablise or revive #20

Closed ferdinandwinters closed 4 years ago

ferdinandwinters commented 4 years ago

I stepped in as section medic tonight and noticed that I still had 20 epi at the end of the night. I just checked my load-out and I only had 20 in my inventory so they definitely weren't used.

PTE(P) Pants

Chrisone4 commented 4 years ago

Can confirm. Unknown if it takes Epi's out of patient first.

willithappen commented 4 years ago

https://github.com/willithappen/eams/blame/3350505d392411ed3f173cecebd4c3ff0d1afd72/functions/revive/fn_reviveComplete.sqf#L15

https://github.com/willithappen/eams/blame/3350505d392411ed3f173cecebd4c3ff0d1afd72/functions/revive/fn_stabilizeComplete.sqf#L15

Param was incorrect.

Fixed in https://github.com/willithappen/eams/commit/be97edaa22a07329e2670b5a88e67b1b503d3159