We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c9f2f7 commit c6a85aaCopy full SHA for c6a85aa
TerrariaServerAPI.Tests/BaseTest.cs
@@ -1,5 +1,6 @@
1
using NUnit.Framework;
2
using System.Runtime.InteropServices;
3
+using Terraria.Utilities;
4
5
namespace TerrariaServerAPI.Tests;
6
@@ -20,7 +21,8 @@ public void EnsureInitialised()
20
21
invoked = true;
22
// DedServ typically requires input, so no need to continue execution
23
args.ContinueExecution = false;
- // DedServ calls the following method, which is needed for subsequent tests
24
+ // DedServ calls the following, which is needed for subsequent tests
25
+ global::Terraria.Main.rand = new UnifiedRandom();
26
instance.Initialize();
27
};
28
HookEvents.Terraria.Main.DedServ += cb;
0 commit comments