Skip to content

Commit

Permalink
// Corvax-Next-BlueprintEject
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainSqrBeard committed Nov 13, 2024
1 parent edf2549 commit ae465b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Content.Client/Lathe/UI/LatheBoundUserInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected override void UpdateState(BoundUserInterfaceState state)
case LatheUpdateState msg:
if (_menu != null)
_menu.Recipes = msg.Recipes;
_menu?.UpdateBlueprintEjectButton(msg.HasAnyBlueprints);
_menu?.UpdateBlueprintEjectButton(msg.HasAnyBlueprints); // Corvax-Next-BlueprintEject
_menu?.PopulateRecipes();
_menu?.UpdateCategories();
_menu?.PopulateQueueList(msg.Queue);
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Lathe/UI/LatheMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Content.Shared.Lathe;
using Content.Shared.Lathe.Prototypes;
using Content.Shared.Research.Prototypes;
using Content.Shared.Research.Components;
using Content.Shared.Research.Components; // Corvax-Next-BlueprintEject
using Robust.Client.AutoGenerated;
using Robust.Client.GameObjects;
using Robust.Client.UserInterface;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Lathe/LatheSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using Content.Shared.Emag.Components;
using Content.Shared.Examine;
using Content.Shared.Lathe;
using Content.Shared.Research.Systems;
using Content.Shared.Research.Systems; // Corvax-Next-BlueprintEject
using Content.Shared.Materials;
using Content.Shared.Power;
using Content.Shared.ReagentSpeed;
Expand Down
6 changes: 3 additions & 3 deletions Content.Shared/Lathe/LatheMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ public sealed class LatheUpdateState : BoundUserInterfaceState
public List<LatheRecipePrototype> Queue;

public LatheRecipePrototype? CurrentlyProducing;
public bool HasAnyBlueprints;
public bool HasAnyBlueprints; // Corvax-Next-BlueprintEject

public LatheUpdateState(List<ProtoId<LatheRecipePrototype>> recipes, List<LatheRecipePrototype> queue, LatheRecipePrototype? currentlyProducing = null, bool hasAnyBlueprints = false)
public LatheUpdateState(List<ProtoId<LatheRecipePrototype>> recipes, List<LatheRecipePrototype> queue, LatheRecipePrototype? currentlyProducing = null, bool hasAnyBlueprints = false) // Corvax-Next-BlueprintEject
{
Recipes = recipes;
Queue = queue;
CurrentlyProducing = currentlyProducing;
HasAnyBlueprints = hasAnyBlueprints;
HasAnyBlueprints = hasAnyBlueprints; // Corvax-Next-BlueprintEject
}
}

Expand Down

0 comments on commit ae465b6

Please sign in to comment.