dragon slayer2 submitted a new resource:

Guardregion.cs change - Added IPooledEnumerable

Find MakeGuard

and change it to look like this.

Only change I made was this IPooledEnumerable

Code:
        public override void MakeGuard(Mobile focus)
        {
            BaseGuard useGuard = null;

            IPooledEnumerable eable = focus.GetMobilesInRange(8);
            foreach (Mobile m in eable)
            {
                if (m is BaseGuard)
                {
                    BaseGuard g = (BaseGuard)m;

                    if (g.Focus == null) // idling...

Read more about this resource...
 
Back