diff options
author | Justin Clark-Casey (justincc) | 2011-11-23 18:00:41 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-23 18:00:41 +0000 |
commit | e394f83df0d4af9f7efb826dbb49fe0eabedabdc (patch) | |
tree | 43a61ead85097e88ac36b2d2f7913426b7caea92 /OpenSim | |
parent | Log error if we attempt to add/remove an OdeCharacter from the _characters li... (diff) | |
download | opensim-SC_OLD-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.zip opensim-SC_OLD-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.tar.gz opensim-SC_OLD-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.tar.bz2 opensim-SC_OLD-e394f83df0d4af9f7efb826dbb49fe0eabedabdc.tar.xz |
Change random number generator property name in pCampbot
Diffstat (limited to 'OpenSim')
-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(); |