mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Arch related engine changes (#4806)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user