forked from VoxeLibre/VoxeLibre
Stalker texture building fix (#4322)
Added a defensive check for stalker texture building. Reviewed-on: VoxeLibre/VoxeLibre#4322
This commit is contained in:
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
|
||||||
|
|
Loading…
Reference in New Issue