From d372179cb4e2904e78f31ffbaeb63e244c371763 Mon Sep 17 00:00:00 2001 From: raymoo Date: Sat, 13 Feb 2016 18:27:44 -0800 Subject: [PATCH] Remove prints --- init.lua | 2 +- test.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index a656121..16ec8bb 100644 --- a/init.lua +++ b/init.lua @@ -144,7 +144,7 @@ function pd_methods.learn(self, name) -- Decrement the remaining deps for each child for i, child in ipairs(children) do local new_rem = self.remaining_deps[child] - 1 - print(child, new_rem) + -- If the player learned it out of order, don't put it as -- available. if new_rem == 0 and not self:knows(child) then diff --git a/test.lua b/test.lua index 1443101..f7b09bd 100644 --- a/test.lua +++ b/test.lua @@ -24,7 +24,6 @@ local infos = { local function build_formspec() local formspec = "size[8,8]" - print(dump(data.available)) local nodes = {} for k in pairs(data.learned) do