-
-
Notifications
You must be signed in to change notification settings - Fork 152
Wall construction causes an error #1493
Copy link
Copy link
Open
Labels
Bug: UnconfirmedBugs that need to be confirmed by a another contributor.Bugs that need to be confirmed by a another contributor.CraftingTasks specific to the crafting system.Tasks specific to the crafting system.Difficulty: Good first issue 🍰Easy tasksEasy tasksInteractionsTasks specific to the interaction system or specific interactions.Tasks specific to the interaction system or specific interactions.
Metadata
Metadata
Assignees
Labels
Bug: UnconfirmedBugs that need to be confirmed by a another contributor.Bugs that need to be confirmed by a another contributor.CraftingTasks specific to the crafting system.Tasks specific to the crafting system.Difficulty: Good first issue 🍰Easy tasksEasy tasksInteractionsTasks specific to the interaction system or specific interactions.Tasks specific to the interaction system or specific interactions.
Current Behavior
If you pick up a metal sheet and click with an empty on a bolted metal girder, the interaction causes a MissingReferenceException error, but constructs the wall anyway.
If you click on the girder with the hand that holds a metal sheet, the interaction doesn't happen.
If you click on the girder with an empty hand, while a glass sheet and a metal sheet lie around, the interaction always chooses the glass sheet.
If you click on the girder with an empty hand, while holding a metal sheet in the other and a glass sheet lying around, the interaction opens the crafting menu.
Expected Behavior
If you click on a girder with a sheet in hand, the interaction uses the sheet in hand, without considering the others.
If you click on a girder with an empty hand, the interaction should open a crafting menu with available materials (either in the other hand or lying around). Don't forget to check if the other hand exists at all.