Quantcast

Fix dry-code error.

John Pasula [01-25-11 - 17:50]
Fix dry-code error.
Filename
core.lua
diff --git a/core.lua b/core.lua
index 4967cb7..4b5ba14 100644
--- a/core.lua
+++ b/core.lua
@@ -1579,7 +1579,7 @@ do
 	local header_list = {}

 	-- Toggles a recipe ot known state if it's your own
-	local togglerecipe(recipe, is_linked)
+	local function togglerecipe(recipe, is_linked)
 		if not is_linked then
 			recipe:AddState("KNOWN")
 			recipe:RemoveState("LINKED")