Skip to content

Commit

Permalink
More EntProtoId
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyyapril committed Nov 14, 2024
1 parent c80b52d commit 80b0d2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Geras/GerasComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class GerasComponent : Component
{
[DataField] public ProtoId<PolymorphPrototype> GerasPolymorphId = "SlimeMorphGeras";

[DataField] public ProtoId<EntityPrototype> GerasAction = "ActionMorphGeras";
[DataField] public EntProtoId GerasAction = "ActionMorphGeras";

[DataField] public EntityUid? GerasActionEntity;
}
2 changes: 1 addition & 1 deletion Content.Server/Traits/Assorted/ForeignerTraitComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ public sealed partial class ForeignerTraitComponent : Component
/// The base translator prototype to use when creating a translator for the entity.
/// </summary>
[DataField(required: true)]
public ProtoId<EntityPrototype> BaseTranslator = default!;
public EntProtoId BaseTranslator = default!;
}

0 comments on commit 80b0d2d

Please sign in to comment.