Stalker texture building fix (#4322)

Added a defensive check for stalker texture building.

Reviewed-on: VoxeLibre/VoxeLibre#4322
This commit is contained in:
the-real-herowl 2024-05-25 11:57:05 +00:00
parent 4d7060cddd
commit 2bd24120e9
1 changed files with 1 additions and 1 deletions

View File

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