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:
the-real-herowl 2024-05-25 11:57:05 +00:00
parent 4d7060cddd
commit 2bd24120e9

@ -32,7 +32,7 @@ local function get_texture(self)
end end
end end
end end
if not texture then if not texture or texture == "" then
texture = "vl_stalker_default.png" texture = "vl_stalker_default.png"
end end
texture = "([combine:16x24:0,0=" .. texture .. ":0,16=" .. texture .. texture_suff texture = "([combine:16x24:0,0=" .. texture .. ":0,16=" .. texture .. texture_suff