From d7275f5c6b266faccf38a7dc3b181d9c2ad918f1 Mon Sep 17 00:00:00 2001 From: metalgearsloth Date: Sun, 30 Jan 2022 14:25:08 +1100 Subject: [PATCH] Fix interaction test Somehow this didn't fail before --- .../Tests/Interaction/Click/InteractionSystemTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.IntegrationTests/Tests/Interaction/Click/InteractionSystemTests.cs b/Content.IntegrationTests/Tests/Interaction/Click/InteractionSystemTests.cs index e9da8a5513..90c2ece76d 100644 --- a/Content.IntegrationTests/Tests/Interaction/Click/InteractionSystemTests.cs +++ b/Content.IntegrationTests/Tests/Interaction/Click/InteractionSystemTests.cs @@ -283,7 +283,7 @@ namespace Content.IntegrationTests.Tests.Interaction.Click { user = sEntities.SpawnEntity(null, coords); user.EnsureComponent().AddHand("hand", HandLocation.Left); - target = sEntities.SpawnEntity(null, new MapCoordinates((InteractionSystem.InteractionRange, 0), mapId)); + target = sEntities.SpawnEntity(null, new MapCoordinates((SharedInteractionSystem.InteractionRange + 0.01f, 0), mapId)); item = sEntities.SpawnEntity(null, coords); item.EnsureComponent(); });