Skip to content

Commit

Permalink
Engine Update v237.2.0 (#1270)
Browse files Browse the repository at this point in the history
<!--
This is a semi-strict format, you can add/remove sections as needed but
the order/format should be kept the same
Remove these comments before submitting
-->

# Description

<!--
Explain this PR in as much detail as applicable

Some example prompts to consider:
How might this affect the game? The codebase?
What might be some alternatives to this?
How/Who does this benefit/hurt [the game/codebase]?
-->

Updates to engine version v237.2.0.
Fixes disposals systems breaking and not using the proper direction.

---------

Co-authored-by: sleepyyapril <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>
  • Loading branch information
sleepyyapril authored Nov 24, 2024
1 parent a179e18 commit dcc1c38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,13 @@ public void ExitDisposals(EntityUid uid, DisposalHolderComponent? holder = null,
else
{
_xformSystem.AttachToGridOrMap(entity, xform);
var direction = holder.CurrentDirection == Direction.Invalid ? holder.PreviousDirection : holder.CurrentDirection;

if (holder.PreviousDirection != Direction.Invalid && _xformQuery.TryGetComponent(xform.ParentUid, out var parentXform))
if (direction != Direction.Invalid && _xformQuery.TryGetComponent(gridUid, out var gridXform))
{
var direction = holder.PreviousDirection.ToAngle();
direction += _xformSystem.GetWorldRotation(parentXform);
_throwing.TryThrow(entity, direction.ToWorldVec() * 3f, 10f);
var directionAngle = direction.ToAngle();
directionAngle += _xformSystem.GetWorldRotation(gridXform);
_throwing.TryThrow(entity, directionAngle.ToWorldVec() * 3f, 10f);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion RobustToolbox
Submodule RobustToolbox updated 43 files
+1 −1 MSBuild/Robust.Engine.Version.props
+1 −1 NetSerializer
+34 −0 RELEASE-NOTES.md
+9 −0 Resources/Locale/en-US/_engine_lib.ftl
+2 −1 Robust.Client/Audio/AudioSystem.cs
+0 −1 Robust.Client/GameStates/NetGraphOverlay.cs
+11 −2 Robust.Client/Graphics/Clyde/GLContext/GLContextWindow.cs
+5 −4 Robust.Client/Placement/Modes/AlignTileAny.cs
+5 −6 Robust.Client/Placement/Modes/AlignTileEmpty.cs
+3 −3 Robust.Client/Placement/PlacementManager.cs
+3 −2 Robust.Client/Placement/PlacementMode.cs
+5 −3 Robust.Client/UserInterface/Controls/BoxContainer.cs
+2 −2 Robust.Client/UserInterface/Controls/SpinBox.cs
+8 −5 Robust.Client/UserInterface/Controls/SplitContainer.cs
+0 −5 Robust.Client/UserInterface/CustomControls/TextEditRopeViz.cs
+1 −0 Robust.Client/UserInterface/UserInterfaceManager.Input.cs
+11 −4 Robust.Client/ViewVariables/Traits/ViewVariablesTraitMembers.cs
+3 −1 Robust.Server/Console/SystemConsoleManager.cs
+4 −4 Robust.Server/GameStates/PvsSystem.Chunks.cs
+18 −2 Robust.Server/Program.cs
+8 −0 Robust.Shared/CVars.cs
+6 −5 Robust.Shared/ContentPack/Sandbox.yml
+3 −7 Robust.Shared/GameObjects/Systems/SharedEyeSystem.cs
+2 −2 Robust.Shared/GameObjects/Systems/SharedUserInterfaceSystem.cs
+11 −0 Robust.Shared/Localization/LocalizationManager.Functions.cs
+3 −2 Robust.Shared/Toolshed/Attributes.cs
+11 −0 Robust.Shared/Toolshed/Commands/Entities/WithCommand.cs
+5 −1 Robust.Shared/Toolshed/Commands/Generic/AsCommand.cs
+19 −21 Robust.Shared/Toolshed/ReflectionExtensions.cs
+5 −2 Robust.Shared/Toolshed/ToolshedCommand.Implementations.cs
+25 −0 Robust.Shared/Utility/FormattedMessage.cs
+2 −2 Robust.Shared/Utility/UniqueIndex.cs
+3 −6 Robust.Shared/Utility/UniqueIndexHkm.cs
+4 −3 Robust.UnitTesting/Shared/GameState/DeletionNetworkingTests.cs
+3 −2 Robust.UnitTesting/Shared/Map/GridCollision_Test.cs
+6 −4 Robust.UnitTesting/Shared/Map/GridContraction_Test.cs
+4 −3 Robust.UnitTesting/Shared/Map/GridFixtures_Tests.cs
+9 −9 Robust.UnitTesting/Shared/Map/GridRotation_Tests.cs
+5 −4 Robust.UnitTesting/Shared/Physics/BroadphaseNetworkingTest.cs
+6 −3 Robust.UnitTesting/Shared/Physics/CollisionWake_Test.cs
+4 −2 Robust.UnitTesting/Shared/Physics/GridMovement_Test.cs
+5 −3 Robust.UnitTesting/Shared/Physics/RecursiveUpdateTest.cs
+17 −9 Tools/package_client_build.py

0 comments on commit dcc1c38

Please sign in to comment.