Skip to content

Commit

Permalink
Update Doom/Heretic SLUMP hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Jun 4, 2024
1 parent 73d1d24 commit 2ea8509
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions games/doom/themes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5936,9 +5936,9 @@ DOOM.NAMES =

function DOOM.slump_setup()
if ob_match_game({game = {doom2=1, tnt=1, plutonia=1}}) then
if OB_CONFIG.theme == "original" or OB_CONFIG.theme == "epi" then
if OB_CONFIG.theme == "default" then
PARAM.slump_config = DOOM.THEMES.DEFAULTS.slump_config
elseif OB_CONFIG.theme == "jumble" or OB_CONFIG.theme == "bit_mixed" then
elseif OB_CONFIG.theme == "jumble" then
local possible_configs = {}
for _,tab in pairs(DOOM.THEMES) do
if tab.slump_config then
Expand Down
4 changes: 2 additions & 2 deletions games/doom/x_doom1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10652,9 +10652,9 @@ end

function ULTDOOM.slump_setup()
if ob_match_game({game = {doom1=1, ultdoom=1}}) then
if OB_CONFIG.theme == "original" or OB_CONFIG.theme == "epi" then
if OB_CONFIG.theme == "default" then
PARAM.slump_config = ULTDOOM.THEMES.DEFAULTS.slump_config
elseif OB_CONFIG.theme == "jumble" or OB_CONFIG.theme == "bit_mixed" then
elseif OB_CONFIG.theme == "jumble" then
local possible_configs = {}
for _,tab in pairs(ULTDOOM.THEMES) do
if tab.slump_config then
Expand Down
4 changes: 2 additions & 2 deletions games/heretic/themes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2973,9 +2973,9 @@ HERETIC.ROOM_THEMES =

function HERETIC.slump_setup()
if ob_match_game({game = {heretic=1}}) then
if OB_CONFIG.theme == "original" or OB_CONFIG.theme == "epi" then
if OB_CONFIG.theme == "default" then
PARAM.slump_config = HERETIC.THEMES.DEFAULTS.slump_config
elseif OB_CONFIG.theme == "jumble" or OB_CONFIG.theme == "bit_mixed" then
elseif OB_CONFIG.theme == "jumble" then
local possible_configs = {}
for _,tab in pairs(HERETIC.THEMES) do
if tab.slump_config then
Expand Down

0 comments on commit 2ea8509

Please sign in to comment.