Grrrr another ThreadStatic
This commit is contained in:
parent
15924c543e
commit
9ed47768ad
1 changed files with 4 additions and 0 deletions
|
|
@ -220,6 +220,10 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
Main.rand = new Random();
|
Main.rand = new Random();
|
||||||
}
|
}
|
||||||
|
if (WorldGen.genRand == null)
|
||||||
|
{
|
||||||
|
WorldGen.genRand = new Random();
|
||||||
|
}
|
||||||
|
|
||||||
if (text.StartsWith("exit"))
|
if (text.StartsWith("exit"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue