Arch related engine changes (#4806)

This commit is contained in:
Leon Friedrich
2024-01-03 20:18:03 -05:00
committed by GitHub
parent 8a83787d58
commit cfb88b2e8e
34 changed files with 143 additions and 145 deletions

View File

@@ -194,7 +194,7 @@ namespace Robust.Shared.Scripting
public bool TryComp<T>(EntityUid uid, out T? comp) where T : IComponent
=> ent.TryGetComponent(uid, out comp);
public bool HasComp<T>(EntityUid uid)
public bool HasComp<T>(EntityUid uid) where T : IComponent
=> ent.HasComponent<T>(uid);
public EntityUid Spawn(string? prototype, EntityCoordinates position)