diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-16 22:30:18 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-16 22:30:18 -0400 |
| commit | c3bec1047513b8c19eb24fef5f3230486dd17cbd (patch) | |
| tree | 1e20bdf27b743ad4c10553060ac538967f780d41 /gamemode/craftablesystem | |
| parent | b16a5f74fc68b34c42c4c201a3f3e1030928bc81 (diff) | |
| download | gmstranded-c3bec1047513b8c19eb24fef5f3230486dd17cbd.tar.gz gmstranded-c3bec1047513b8c19eb24fef5f3230486dd17cbd.tar.bz2 gmstranded-c3bec1047513b8c19eb24fef5f3230486dd17cbd.zip | |
Fixed most recepies not showing up in the structures menu
Diffstat (limited to 'gamemode/craftablesystem')
| -rw-r--r-- | gamemode/craftablesystem/loadcraftables.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
