From acff93b0ce7424439368652351b8fe181fed1290 Mon Sep 17 00:00:00 2001 From: Colman Davenport Date: Sat, 9 Feb 2019 19:20:14 -0500 Subject: [PATCH] derpfix'n no.2 --- scripts/fr_scripts/novakidStuff.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/fr_scripts/novakidStuff.lua b/scripts/fr_scripts/novakidStuff.lua index a57e4da1..83b761f2 100644 --- a/scripts/fr_scripts/novakidStuff.lua +++ b/scripts/fr_scripts/novakidStuff.lua @@ -56,7 +56,6 @@ function FRHelper:call(args, main, dt, ...) local hungerCalc = math.min(1, (hungerPerc - dayConfig.minHunger) / (dayConfig.maxHunger - dayConfig.minHunger)) local regenCalc = (dayConfig.maxRegen - dayConfig.minRegen) * hungerCalc + dayConfig.minRegen - -- When it is sunny and they are well fed, florans regenerate if hungerPerc >= dayConfig.minHunger then status.modifyResourcePercentage("health", regenCalc * dt) end