public override void OnLeaveMap() { if (!HostMap.IsNullMap) { HostMap.RemoveNPC(this); } base.OnLeaveMap(); }