public override void SendGump() { DiceRiderGump g = Player.FindGump(typeof(DiceRiderGump)) as DiceRiderGump; if (g != null) { g.Refresh(); } else { Player.SendGump(new DiceRiderGump(Player, this)); } }
public override void SendGump(PlayerMobile pm) { DiceRider game = GetGame(pm) as DiceRider; if (game == null) { game = new DiceRider(pm, this); AddGame(pm, game); } DiceRiderGump g = pm.FindGump(typeof(DiceRiderGump)) as DiceRiderGump; if (g != null) { g.Refresh(); } else { pm.SendGump(new DiceRiderGump(pm, game)); } }