From c3bec1047513b8c19eb24fef5f3230486dd17cbd Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 16 Apr 2016 22:30:18 -0400 Subject: Fixed most recepies not showing up in the structures menu --- gamemode/craftablesystem/loadcraftables.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gamemode/craftablesystem/loadcraftables.lua') diff --git a/gamemode/craftablesystem/loadcraftables.lua b/gamemode/craftablesystem/loadcraftables.lua index 724401f..51b2e3e 100644 --- a/gamemode/craftablesystem/loadcraftables.lua +++ b/gamemode/craftablesystem/loadcraftables.lua @@ -3,6 +3,12 @@ GMS.Combinations = {} function GMS.RegisterCombi( tbl, group ) if ( !GMS.Combinations[ group ] ) then GMS.Combinations[ group ] = {} end + + if(group == "Structures") then + print("Found a structure:") + print(tbl.Name) + end + GMS.Combinations[ group ][ string.Replace( tbl.Name, " ", "_" ) ] = tbl end -- cgit v1.2.3-70-g09d2