From 5431d0b4a44291f67731fd273818ae51ea7d53ac Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Thu, 7 Apr 2022 20:06:47 -0300 Subject: [PATCH] fix tex under another --- pilot_skin_manager.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pilot_skin_manager.lua b/pilot_skin_manager.lua index 1fe3298..e83dec7 100644 --- a/pilot_skin_manager.lua +++ b/pilot_skin_manager.lua @@ -27,6 +27,8 @@ function airutils.set_player_skin(player, skin) if player:get_attribute(backup) == nil or player:get_attribute(backup) == "" then player:set_attribute(backup, texture) --texture backup --minetest.chat_send_all(dump(player:get_attribute(backup))) + else + texture = player:get_attribute(backup) end texture = texture.."^"..skin if texture ~= nil and texture ~= "" then