Added user as an argument

This commit is contained in:
TheCarlSaganExpress
2016-09-27 20:36:17 -04:00
committed by GitHub
parent 3a8c7ecbd7
commit 36e52cf79b
+1 -1
View File
@@ -381,7 +381,7 @@
user << "You take a bite of the [src.name]. Delicious!"
var/eaten = use_charges(5)
if(!reagents.total_volume) //Prevents divsion by zero
check_empty()
check_empty(user)
return
var/fraction = min(eaten / reagents.total_volume, 1)
reagents.reaction(M, INGEST, fraction * volume_multiplier)