Bring back the maximum amount button among the consist load tools

This commit is contained in:
maj00r
2026-10-04 14:40:08 +02:00
parent a54576b975
commit 4650e4899c
7 changed files with 13 additions and 0 deletions

View File

@@ -563,6 +563,8 @@ public sealed class VehicleDetails
var tools = Stack(
LoadToolButton(App.Loc["ConsistRandomType"],
() => { _cargo.RandomTypes(_consist); _redraw(); }, secondary: true),
LoadToolButton(App.Loc["ConsistMaxAmount"],
() => { _cargo.MaxAmounts(_consist); _redraw(); }, secondary: true),
LoadToolButton(App.Loc["ConsistRandomAmount"],
() => { _cargo.RandomAmounts(_consist); _redraw(); }, secondary: true));