diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index f5dd5e0..056f991 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -50,7 +50,12 @@ namespace pCampBot | |||
50 | 50 | ||
51 | protected CommandConsole m_console; | 51 | protected CommandConsole m_console; |
52 | protected List<Bot> m_lBot; | 52 | protected List<Bot> m_lBot; |
53 | protected Random somthing = new Random(Environment.TickCount); | 53 | |
54 | /// <summary> | ||
55 | /// Random number generator. | ||
56 | /// </summary> | ||
57 | public Random Rng { get; private set; } | ||
58 | |||
54 | public IConfig Config { get; private set; } | 59 | public IConfig Config { get; private set; } |
55 | 60 | ||
56 | /// <summary> | 61 | /// <summary> |
@@ -63,6 +68,7 @@ namespace pCampBot | |||
63 | /// </summary> | 68 | /// </summary> |
64 | public BotManager() | 69 | public BotManager() |
65 | { | 70 | { |
71 | Rng = new Random(Environment.TickCount); | ||
66 | AssetsReceived = new Dictionary<UUID, bool>(); | 72 | AssetsReceived = new Dictionary<UUID, bool>(); |
67 | 73 | ||
68 | m_console = CreateConsole(); | 74 | m_console = CreateConsole(); |