<, 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:
parent
8b0e4f34b1
commit
f0b7634d52
1 changed files with 1 additions and 1 deletions
|
@ -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>();
|
||||
}
|
||||
|
|
Reference in a new issue