summaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes/textures.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-01-17 02:25:33 +0100
committersfan5 <sfan5@live.de>2021-01-29 17:34:41 +0100
commit5c005ad081a23a1c048ef2c1066f60e0e041c956 (patch)
tree6f9e8bb21077b459b483c2a2750c8db1069d5913 /games/devtest/mods/testnodes/textures.lua
parent83229921e5f378625d9ef63ede3dffbe778e1798 (diff)
downloadminetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.tar.gz
minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.tar.bz2
minetest-5c005ad081a23a1c048ef2c1066f60e0e041c956.zip
devtest: Fix deprecated alpha usage
Diffstat (limited to 'games/devtest/mods/testnodes/textures.lua')
-rw-r--r--games/devtest/mods/testnodes/textures.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/devtest/mods/testnodes/textures.lua b/games/devtest/mods/testnodes/textures.lua
index af3b7f468..a508b6a4d 100644
--- a/games/devtest/mods/testnodes/textures.lua
+++ b/games/devtest/mods/testnodes/textures.lua
@@ -46,7 +46,7 @@ for a=1,#alphas do
tiles = {
"testnodes_alpha"..alpha..".png",
},
- use_texture_alpha = true,
+ use_texture_alpha = "blend",
groups = { dig_immediate = 3 },
})
@@ -59,7 +59,7 @@ for a=1,#alphas do
tiles = {
"testnodes_alpha.png^[opacity:" .. alpha,
},
- use_texture_alpha = true,
+ use_texture_alpha = "blend",
groups = { dig_immediate = 3 },
})