ZaneDubya/UltimaXNA

Crash on closing an npc Paperdoll

Closed this issue · 3 comments

orsi commented

Closing an npc's paperdoll gump causes a null reference in PaperDollGump.cs when disposing the gump. Seems to be the case for any npc, but not for the own player's paperdoll.

image

Thanks for reporting this @jorsi - wonder what's causing it!

To add on to this, if you close another player's paperdoll a crash occurs as well~

Fixed here.

if (m_VirtueMenuButton != null)