<, not <=.

It really is true that messing up a single character can screw up all
your code with a fatal bug.
This commit is contained in:
Michael 2017-02-09 18:51:08 -05:00
parent 8b0e4f34b1
commit f0b7634d52

View file

@ -479,7 +479,7 @@ Contents:
//This is to save on network bandwidth as it will take a long time to send everyone's shops down if we don't purge the stock.
//And with high bandwidth usage, we may end up DOSing our clients when too many people upload too many things.
//Furthermore, this'll make the MUD Control Centre seem faster...
for (int i = 0; i <= shops.Count; i++)
for (int i = 0; i < shops.Count; i++)
{
shops[i].Items = new List<ShopItem>();
}