From 0ca027a12a3a069dfd15b467ccde3750711129fc Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 3 Jul 2011 20:49:04 -0500 Subject: [PATCH] Minor cleanup. --- Interface/List.lua | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/Interface/List.lua b/Interface/List.lua index 1692941..967824d 100644 --- a/Interface/List.lua +++ b/Interface/List.lua @@ -356,27 +356,10 @@ function private.InitializeListFrame() if parent_entry then if parent_entry ~= entry then entry.parent = parent_entry - - local recipe_id = parent_entry.recipe_id - local acquire_id = parent_entry.acquire_id - local location_id = parent_entry.location_id - local npc_id = parent_entry.npc_id - - if recipe_id then - entry.recipe_id = recipe_id - end - - if acquire_id then - entry.acquire_id = acquire_id - end - - if location_id then - entry.location_id = location_id - end - - if npc_id then - entry.npc_id = npc_id - end + entry.recipe_id = parent_entry.recipe_id + entry.acquire_id = parent_entry.acquire_id + entry.location_id = parent_entry.location_id + entry.npc_id = parent_entry.npc_id else addon:Debug("Attempting to parent an entry to itself.") end -- 1.7.9.5