Skip to content

Commit

Permalink
Apply latest be-testing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sailro committed Jan 17, 2025
1 parent 778eaa7 commit 5240df7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ConsoleCommands/Spawn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ internal static void SpawnTemplate(string template, Player player, ConsoleComman

private static void SpawnTemplate(ItemTemplate template, Player player, ConsoleCommand command)
{
var poolManager = Singleton<PoolManager>.Instance;
var poolManager = Singleton<PoolManagerClass>.Instance;

poolManager
.LoadBundlesAndCreatePools(PoolManager.PoolsCategory.Raid, PoolManager.AssemblyType.Online, [.. template.AllResources], JobPriority.Immediate)
.LoadBundlesAndCreatePools(PoolManagerClass.PoolsCategory.Raid, PoolManagerClass.AssemblyType.Online, [.. template.AllResources], JobPriorityClass.Immediate)
.ContinueWith(task =>
{
AsyncWorker.RunInMainTread(delegate
Expand Down
4 changes: 2 additions & 2 deletions ConsoleCommands/SpawnBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ public bool TryGetRole(out WildSpawnType role, out BotDifficulty difficulty)
return profile;
}

public WaveInfo[] PrepareToLoadBackend(int count)
public WaveInfoClass[] PrepareToLoadBackend(int count)
{
var waveInfo = new WaveInfo(count, spawnType, botDifficulty);
var waveInfo = new WaveInfoClass(count, spawnType, botDifficulty);
return [waveInfo];
}

Expand Down

0 comments on commit 5240df7

Please sign in to comment.