Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public StationScreenMixin(StationBlockEntity be, GlobalStation station) {

@Unique
private void alignAndToggleSettings() {
realism$settingsButton.visible = this.disassembleTrainButton.visible && this.disassembleTrainButton.active;
realism$settingsButton.visible = this.disassembleTrainButton.visible;
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description says this change enables trains to be disassembled in additional situations, but this line only changes when the settings button is shown (it no longer depends on disassembleTrainButton.active). If the intent is purely UI/UX (show settings even when disassemble is disabled), consider updating the PR description accordingly; if the intent is to change disassembly rules, that logic likely lives elsewhere and won’t be affected by this change.

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore this, i accidentally put disassemble instead of edit settings.

}
@Unique
private void onSettingsPressed() {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading