dirt -> cloud
This commit is contained in:
parent
48ce801856
commit
ebb71ca8be
|
@ -163,6 +163,7 @@ local function init_globals()
|
|||
ui.update()
|
||||
|
||||
core.sound_play("main_menu", true)
|
||||
|
||||
end
|
||||
|
||||
init_globals()
|
||||
|
|
|
@ -64,7 +64,7 @@ function mm_texture.reset()
|
|||
if core.settings:get_bool("menu_clouds") then
|
||||
core.set_clouds(true)
|
||||
else
|
||||
mm_texture.set_dirt_bg()
|
||||
core.set_clouds(true)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -91,7 +91,7 @@ function mm_texture.update_game(gamedetails)
|
|||
if core.settings:get_bool("menu_clouds") then
|
||||
core.set_clouds(true)
|
||||
else
|
||||
mm_texture.set_dirt_bg()
|
||||
core.set_clouds(true)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -173,13 +173,13 @@ end
|
|||
|
||||
function mm_texture.set_dirt_bg()
|
||||
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
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
-- 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)
|
||||
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 |
Loading…
Reference in New Issue