예제 #1
0
    private void OnAmmoCounterCollect(EntityUid uid, AmmoCounterComponent component, ItemStatusCollectMessage args)
    {
        RefreshControl(uid, component);

        if (component.Control != null)
        {
            args.Controls.Add(component.Control);
        }
    }
예제 #2
0
 private static void OnCrayonItemStatus(EntityUid uid, CrayonComponent component, ItemStatusCollectMessage args)
 {
     args.Controls.Add(new StatusControl(component));
 }