public override void OnDoubleClick(Mobile from) { YardTarget yt; if (m_Category != null) { yt = new YardTarget(this, from, 0, 0, Category, Page); } else { yt = new YardTarget(this, from, 0, 0, "", 0); } yt.GumpUp(); }
public override void OnDoubleClick(Mobile from) { YardTarget yt; if (Map == Map.Felucca) { from.SendMessage("You can't use this item in Felucca"); return; } else if (m_Category != null) { yt = new YardTarget(this, from, 0, 0, Category, Page); } else { yt = new YardTarget(this, from, 0, 0, "", 0); } yt.GumpUp(); }