Always grab a fresh instance of an item from the current thread to

display stats
This commit is contained in:
cncfanatics
2010-10-27 16:41:22 +02:00
parent 772b60dbf3
commit 52fb65754b

View File

@@ -48,7 +48,8 @@ class ItemStatsDialog(wx.Dialog):
item = getattr(victim, "item", None) if context != "ammo" else getattr(victim, "charge", None)
if item is None:
item = victim
sMarket = service.Market.getInstance()
item = sMarket.getItem(victim.ID)
victim = None
self.context = context
if item.icon is not None: