diff options
| author | Michael <[email protected]> | 2017-02-09 18:51:08 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-09 18:51:08 -0500 |
| commit | f0b7634d5204aee61a361e2cafb911b33d995f56 (patch) | |
| tree | 067eec0e60dc6e368975c66a316611adfee8d6dd | |
| parent | 8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f (diff) | |
| download | shiftos_thereturn-f0b7634d5204aee61a361e2cafb911b33d995f56.tar.gz shiftos_thereturn-f0b7634d5204aee61a361e2cafb911b33d995f56.tar.bz2 shiftos_thereturn-f0b7634d5204aee61a361e2cafb911b33d995f56.zip | |
<, not <=.
It really is true that messing up a single character can screw up all
your code with a fatal bug.
| -rw-r--r-- | ShiftOS.Server/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<ShopItem>(); } |
