dirt -> cloud

MultiCraft
Mrchiantos 2019-07-23 13:40:22 +02:00
parent 9c796fe011
commit 5143032334
4 changed files with 5 additions and 4 deletions

View File

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

View File

@ -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