From bc7309b977b1467d1ae826eb73ca6bd7af4f2905 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Mon, 13 Apr 2015 22:26:49 +0200 Subject: [PATCH] Fixed little things for hunger reset (and a global variable local-ished) --- mods/food/depends.txt | 1 - other_things/irc-old-save/irc/main.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/food/depends.txt b/mods/food/depends.txt index 33e9c139..f3f515da 100755 --- a/mods/food/depends.txt +++ b/mods/food/depends.txt @@ -1,4 +1,3 @@ -hunger animalmaterials? bushes_classic? default? diff --git a/other_things/irc-old-save/irc/main.lua b/other_things/irc-old-save/irc/main.lua index c3a7c8f6..d070ef8a 100644 --- a/other_things/irc-old-save/irc/main.lua +++ b/other_things/irc-old-save/irc/main.lua @@ -185,7 +185,7 @@ function meta:think() self.lastThought = socket.gettime() end -local handlers = handlers +local handlers = rawget(G_, "handlers") function meta:handle(msg) local handler = irc.handlers[msg.command]