From 9f8ae3c0f47045c75a944c523421e5a74291a117 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Apr 2022 23:58:31 +0100 Subject: [PATCH] currency: Make currency pieces be fastsplit The actual machinery does all the hard work. This shouldn't have any overall visible functional change. It just engages new contraptions during piece creation and load/save, but right now they shouldn't have any work to do because we don't actually ever split (or merge) currency. Signed-off-by: Ian Jackson --- src/currency.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/currency.rs b/src/currency.rs index b427e248..8221dbc0 100644 --- a/src/currency.rs +++ b/src/currency.rs @@ -69,6 +69,8 @@ impl PieceSpec for Spec { itemname, }; + gpc.fastsplit = FastSplitId::new_placeholder(); + let special = PieceSpecialProperties { multigrab: true, ..default() -- 2.30.2