make GameRule use entity category (#28294)

This commit is contained in:
deltanedas
2024-06-03 12:39:25 +00:00
committed by GitHub
parent 50f8de08a4
commit 977bd5ad6d
8 changed files with 8 additions and 68 deletions

View File

@@ -1,4 +1,5 @@
using Content.Server.Destructible.Thresholds;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Server.GameTicking.Components;
@@ -7,7 +8,7 @@ namespace Content.Server.GameTicking.Components;
/// Component attached to all gamerule entities.
/// Used to both track the entity as well as store basic data
/// </summary>
[RegisterComponent]
[RegisterComponent, EntityCategory("GameRules")]
public sealed partial class GameRuleComponent : Component
{
/// <summary>