Fix rotate verbs not being predicted (#38165)

* Fix rotate verbs not being predicted

* fixes

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
DrSmugleaf
2025-08-02 17:34:36 -07:00
committed by GitHub
parent 9d3edeb641
commit 06581a0045
6 changed files with 257 additions and 235 deletions

View File

@@ -0,0 +1,17 @@
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Rotatable;
/// <summary>
/// Allows an entity to be flipped (mirrored) by using a verb.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class FlippableComponent : Component
{
/// <summary>
/// Entity to replace this entity with when the current one is 'flipped'.
/// </summary>
[DataField(required: true), AutoNetworkedField]
public EntProtoId MirrorEntity = default!;
}