Skip to content

Commit 2631e7f

Browse files
committed
Buffer more bill fields
When updating a bill's repeat/target count using the `+/- 1/10` buttons and playing with a laggy connection the UX is not great as it's possible to click multiple times in quick succession and have the change registered as if the button was clicked only once. This fixes that.
1 parent bfe637e commit 2631e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Client/Syncing/Game/SyncFields.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public static void Init()
152152
nameof(Bill_Production.targetCount),
153153
nameof(Bill_Production.pauseWhenSatisfied),
154154
nameof(Bill_Production.unpauseWhenYouHave)
155-
);
155+
).SetBufferChanges();
156156

157157
SyncBillIncludeCriteria = Sync.Fields(
158158
typeof(Bill_Production),

0 commit comments

Comments
 (0)