From c61028597237bd92d55f0109bd84dacf20ef35a1 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 8 Mar 2016 21:19:25 -0800 Subject: [PATCH] Accidentally commited deletion of these. This was supposed to remain in the mod. --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 7472df4..cd20ed0 100644 --- a/init.lua +++ b/init.lua @@ -103,10 +103,12 @@ local function exhaust_player(player, v) end -- Time based stamina functions +local stamina_timer = 0 local health_timer = 0 local action_timer = 0 local function stamina_globaltimer(dtime) + stamina_timer = stamina_timer + dtime health_timer = health_timer + dtime action_timer = action_timer + dtime