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:
17
Content.Shared/Rotatable/FlippableComponent.cs
Normal file
17
Content.Shared/Rotatable/FlippableComponent.cs
Normal 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!;
|
||||
}
|
||||
Reference in New Issue
Block a user