mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 02:24:11 +01:00
Runtime fix for mech sleepers feedback messages at injecting the victim with the last units of a reagent.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5519 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -193,9 +193,9 @@
|
||||
return 0
|
||||
var/to_inject = min(R.volume, inject_amount)
|
||||
if(to_inject && occupant.reagents.get_reagent_amount(R.id) + to_inject <= inject_amount*2)
|
||||
occupant_message("Injecting [occupant] with [to_inject] units of [R.name].")
|
||||
log_message("Injecting [occupant] with [to_inject] units of [R.name].")
|
||||
SG.reagents.trans_id_to(occupant,R.id,to_inject)
|
||||
occupant_message("[occupant] injected with [to_inject] units of [R.name].")
|
||||
log_message("[occupant] injected with [to_inject] units of [R.name].")
|
||||
update_equip_info()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user