mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Fixes some runtimes (hopefully)
This commit is contained in:
@@ -283,6 +283,8 @@
|
||||
if(M.ckey)
|
||||
GLOB.prey_digested_roundstat++
|
||||
|
||||
var/personal_nutrition_modifier = M.get_digestion_nutrition_modifier()
|
||||
|
||||
if((mode_flags & DM_FLAG_LEAVEREMAINS) && M.digest_leave_remains)
|
||||
handle_remains_leaving(M)
|
||||
digestion_death(M)
|
||||
@@ -290,9 +292,9 @@
|
||||
owner.update_icons()
|
||||
if(isrobot(owner))
|
||||
var/mob/living/silicon/robot/R = owner
|
||||
R.cell.charge += (nutrition_percent / 100) * compensation * 25 * M.get_digestion_nutrition_modifier()
|
||||
R.cell.charge += (nutrition_percent / 100) * compensation * 25 * personal_nutrition_modifier
|
||||
else
|
||||
owner.adjust_nutrition((nutrition_percent / 100) * compensation * 4.5 * M.get_digestion_nutrition_modifier())
|
||||
owner.adjust_nutrition((nutrition_percent / 100) * compensation * 4.5 * personal_nutrition_modifier)
|
||||
|
||||
/obj/belly/proc/steal_nutrition(mob/living/L)
|
||||
if(L.nutrition >= 100)
|
||||
|
||||
Reference in New Issue
Block a user