mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
修复UILoopListWidget赋值问题
This commit is contained in:
@@ -159,10 +159,7 @@ namespace GameLogic
|
|||||||
public List<TItem> GetItemList()
|
public List<TItem> GetItemList()
|
||||||
{
|
{
|
||||||
m_items.Clear();
|
m_items.Clear();
|
||||||
for (int i = 0; i < m_itemCache.Count; i++)
|
|
||||||
{
|
|
||||||
m_items.AddRange(m_itemCache.Values);
|
m_items.AddRange(m_itemCache.Values);
|
||||||
}
|
|
||||||
return m_items;
|
return m_items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user