mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
Merge pull request #3117 from VOREStation/aro-pol-eatingruntime
Fix runtime while eating
This commit is contained in:
@@ -28,9 +28,10 @@
|
||||
var/totalFlavor = 0
|
||||
for(var/taste in data)
|
||||
totalFlavor += data[taste]
|
||||
for(var/taste in data)
|
||||
if(data[taste]/totalFlavor < 0.1)
|
||||
data -= taste
|
||||
if(totalFlavor) //Let's not divide by zero for things w/o taste
|
||||
for(var/taste in data)
|
||||
if(data[taste]/totalFlavor < 0.1)
|
||||
data -= taste
|
||||
|
||||
/datum/reagent/nutriment/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(!injectable)
|
||||
|
||||
Reference in New Issue
Block a user