mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 02:21:06 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue