Minor test fixes (#25423)

* Minor test fixes

c

* fix?
This commit is contained in:
metalgearsloth
2024-02-27 10:29:36 +11:00
committed by GitHub
parent 32a440b487
commit 0889d6b0b0
2 changed files with 4 additions and 3 deletions

View File

@@ -341,7 +341,6 @@ public sealed partial class MindTests
var playerMan = server.ResolveDependency<IPlayerManager>();
var mindSystem = entMan.EntitySysManager.GetEntitySystem<SharedMindSystem>();
var ghostSystem = entMan.EntitySysManager.GetEntitySystem<GhostSystem>();
EntityUid entity = default!;
EntityUid mindId = default!;
@@ -381,7 +380,7 @@ public sealed partial class MindTests
mob = entMan.SpawnEntity(null, new MapCoordinates());
MakeSentientCommand.MakeSentient(mob, IoCManager.Resolve<IEntityManager>());
MakeSentientCommand.MakeSentient(mob, entMan);
mobMindId = mindSystem.CreateMind(player.UserId, "Mindy McThinker the Second");
mobMind = entMan.GetComponent<MindComponent>(mobMindId);