mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Change random number generator property name in pCampbot
This commit is contained in:
@@ -50,7 +50,12 @@ namespace pCampBot
|
||||
|
||||
protected CommandConsole m_console;
|
||||
protected List<Bot> m_lBot;
|
||||
protected Random somthing = new Random(Environment.TickCount);
|
||||
|
||||
/// <summary>
|
||||
/// Random number generator.
|
||||
/// </summary>
|
||||
public Random Rng { get; private set; }
|
||||
|
||||
public IConfig Config { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -63,6 +68,7 @@ namespace pCampBot
|
||||
/// </summary>
|
||||
public BotManager()
|
||||
{
|
||||
Rng = new Random(Environment.TickCount);
|
||||
AssetsReceived = new Dictionary<UUID, bool>();
|
||||
|
||||
m_console = CreateConsole();
|
||||
|
||||
Reference in New Issue
Block a user