Update submodule to 228.0.0 (#29947)

* Update submodule to 228.0.0

* Fix every single test

* Also this one
This commit is contained in:
metalgearsloth
2024-07-13 16:05:32 +10:00
committed by GitHub
parent cb98b659ad
commit f969fd2bfb
3 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ public abstract partial class InteractionTest
return await SpawnEntity((stack.StackTypeId, spec.Quantity), coords); return await SpawnEntity((stack.StackTypeId, spec.Quantity), coords);
Assert.That(spec.Quantity, Is.EqualTo(1), "SpawnEntity only supports returning a singular entity"); Assert.That(spec.Quantity, Is.EqualTo(1), "SpawnEntity only supports returning a singular entity");
await Server.WaitPost(() => uid = SEntMan.SpawnEntity(spec.Prototype, coords)); await Server.WaitPost(() => uid = SEntMan.SpawnAtPosition(spec.Prototype, coords));
return uid; return uid;
} }

View File

@@ -91,7 +91,7 @@ public abstract partial class InteractionTest
Target = NetEntity.Invalid; Target = NetEntity.Invalid;
await Server.WaitPost(() => await Server.WaitPost(() =>
{ {
Target = SEntMan.GetNetEntity(SEntMan.SpawnEntity(prototype, SEntMan.GetCoordinates(TargetCoords))); Target = SEntMan.GetNetEntity(SEntMan.SpawnAtPosition(prototype, SEntMan.GetCoordinates(TargetCoords)));
}); });
await RunTicks(5); await RunTicks(5);