dirt -> cloud

This commit is contained in:
Mrchiantos 2019-07-23 13:41:50 +02:00
parent 48ce801856
commit ebb71ca8be
4 changed files with 5 additions and 4 deletions

View File

@ -163,6 +163,7 @@ local function init_globals()
ui.update() ui.update()
core.sound_play("main_menu", true) core.sound_play("main_menu", true)
end end
init_globals() init_globals()

View File

@ -64,7 +64,7 @@ function mm_texture.reset()
if core.settings:get_bool("menu_clouds") then if core.settings:get_bool("menu_clouds") then
core.set_clouds(true) core.set_clouds(true)
else else
mm_texture.set_dirt_bg() core.set_clouds(true)
end end
end end
end end
@ -91,7 +91,7 @@ function mm_texture.update_game(gamedetails)
if core.settings:get_bool("menu_clouds") then if core.settings:get_bool("menu_clouds") then
core.set_clouds(true) core.set_clouds(true)
else else
mm_texture.set_dirt_bg() core.set_clouds(true)
end end
end end
@ -173,13 +173,13 @@ end
function mm_texture.set_dirt_bg() function mm_texture.set_dirt_bg()
if mm_texture.texturepack ~= nil then if mm_texture.texturepack ~= nil then
local path = mm_texture.texturepack .. DIR_DELIM .."default_dirt.png" local path = mm_texture.texturepack .. DIR_DELIM .."bg.png"
if core.set_background("background", path, true, 128) then if core.set_background("background", path, true, 128) then
return true return true
end end
end end
-- Use universal fallback texture in textures/base/pack -- Use universal fallback texture in textures/base/pack
local minimalpath = defaulttexturedir .. "menu_bg.png" local minimalpath = defaulttexturedir .. "bg.png"
core.set_background("background", minimalpath, true, 128) core.set_background("background", minimalpath, true, 128)
end end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B