From f0b7634d5204aee61a361e2cafb911b33d995f56 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Feb 2017 18:51:08 -0500 Subject: [PATCH] <, not <=. It really is true that messing up a single character can screw up all your code with a fatal bug. --- ShiftOS.Server/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs index bdcf10e..c468503 100644 --- a/ShiftOS.Server/Program.cs +++ b/ShiftOS.Server/Program.cs @@ -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(); }