mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Force grids to be collidable (#3480)
This commit is contained in:
@@ -31,8 +31,7 @@ namespace Robust.UnitTesting.Shared.Map
|
||||
EntityUid? gridEnt1;
|
||||
EntityUid? gridEnt2;
|
||||
|
||||
await server.WaitPost(() =>
|
||||
{
|
||||
await server.WaitPost(() => {
|
||||
mapId = mapManager.CreateMap();
|
||||
gridId1 = mapManager.CreateGrid(mapId);
|
||||
gridId2 = mapManager.CreateGrid(mapId);
|
||||
@@ -85,6 +84,9 @@ namespace Robust.UnitTesting.Shared.Map
|
||||
var contact = node.Value;
|
||||
node = node.Next;
|
||||
|
||||
if (!contact.IsTouching)
|
||||
continue;
|
||||
|
||||
var bodyA = contact.FixtureA!.Body;
|
||||
var bodyB = contact.FixtureB!.Body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user