forked from your-land-mirror/yl_speak_up
properly store changed shield texture
This commit is contained in:
parent
48202642dd
commit
35761ac779
@ -133,6 +133,10 @@ yl_speak_up.mesh_update_textures = function(pname, textures)
|
||||
end
|
||||
obj:set_properties({ textures = textures })
|
||||
yl_speak_up.speak_to[pname].skins = textures
|
||||
local entity = obj:get_luaentity()
|
||||
if(entity) then
|
||||
entity.yl_speak_up.skin = textures
|
||||
end
|
||||
-- scrolling through the diffrent skins updates the skin; avoid spam in the log
|
||||
-- yl_speak_up.log_change(pname, n_id,
|
||||
-- "(fashion) skin changed to "..tostring(new_skin)..".")
|
||||
|
Loading…
Reference in New Issue
Block a user