Fix component generic usages where IComponent would not be valid (#19482)
This commit is contained in:
@@ -242,7 +242,7 @@ public sealed class AmeControllerSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
if (!HasComp<AmeFuelContainerComponent?>(args.Used))
|
||||
if (!HasComp<AmeFuelContainerComponent>(args.Used))
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString("ame-controller-component-interact-using-fail"), uid, args.User);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user