Skip to content

Commit

Permalink
Fixed table removal on OTEX resource DB exclusions leaving empties.
Browse files Browse the repository at this point in the history
  • Loading branch information
GTD-Carthage committed Aug 20, 2024
1 parent 3991023 commit 76bc44a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion games/doom/fabs/joiner/gtd_barred.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
PREFABS.Joiner_gtd_barred1 =
{
file = "joiner/gtd_barred.wad",
map = "MAP01",
where = "seeds",
shape = "I",

key = "barred",

prob = 70,
prob = 50,

seed_w = 2,
seed_h = 1,
Expand All @@ -20,3 +21,11 @@ PREFABS.Joiner_gtd_barred1 =
tag_1 = "?door_tag",
door_action = "S1_OpenDoor",
}

PREFABS.Joiner_gtd_barred2 =
{
template = "Joiner_gtd_barred1",
map = "MAP02",

x_fit = {32,40 , 62,72 , 124,132 , 184,192 , 216,224}
}
Binary file modified games/doom/fabs/joiner/gtd_barred.wad
Binary file not shown.
3 changes: 3 additions & 0 deletions modules/zdoom_otex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@ function OTEX_PROC_MODULE.synthesize_procedural_themes()
if v == "textures" then
resource_tab[k].textures = {}
resource_tab[k].has_textures = false
resource_tab[k].has_all = false
elseif v == "flats" then
resource_tab[k].flats = {}
resource_tab[k].has_flats = false
resource_tab[k].has_all = false
else
resource_tab[k] = {}
resource_tab[k] = nil
end
end
Expand Down

0 comments on commit 76bc44a

Please sign in to comment.