Replace all T : Component constraints with T : IComponent (#4494)

This commit is contained in:
DrSmugleaf
2023-10-17 19:37:46 -07:00
committed by GitHub
parent f24d18f470
commit 6b6ec844e8
22 changed files with 362 additions and 373 deletions

View File

@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Prometheus;
using Robust.Client.GameStates;
using Robust.Client.Player;
@@ -86,7 +85,7 @@ namespace Robust.Client.GameObjects
}
/// <inheritdoc />
public override void Dirty(EntityUid uid, Component component, MetaDataComponent? meta = null)
public override void Dirty(EntityUid uid, IComponent component, MetaDataComponent? meta = null)
{
// Client only dirties during prediction
if (_gameTiming.InPrediction)