mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Stalker texture building fix (#4322)
Added a defensive check for stalker texture building. Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4322
This commit is contained in:
parent
4d7060cddd
commit
2bd24120e9
@ -32,7 +32,7 @@ local function get_texture(self)
|
||||
end
|
||||
end
|
||||
end
|
||||
if not texture then
|
||||
if not texture or texture == "" then
|
||||
texture = "vl_stalker_default.png"
|
||||
end
|
||||
texture = "([combine:16x24:0,0=" .. texture .. ":0,16=" .. texture .. texture_suff
|
||||
|
Loading…
Reference in New Issue
Block a user