diff --git a/pilot_skin_manager.lua b/pilot_skin_manager.lua index e83dec7..adb9ba3 100644 --- a/pilot_skin_manager.lua +++ b/pilot_skin_manager.lua @@ -37,7 +37,7 @@ function airutils.set_player_skin(player, skin) else local old_texture = player:get_attribute(backup) if set_skin then - if player:get_attribute("set_skin:player_skin") ~= nil then + if player:get_attribute("set_skin:player_skin") ~= nil and player:get_attribute("set_skin:player_skin") ~= "" then old_texture = player:get_attribute("set_skin:player_skin") end elseif skins then