From a051077820fbab069352ccf6ec067a645d913bf9 Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Wed, 10 Feb 2021 18:54:05 -0600 Subject: [PATCH] update structures --- library/xml | 2 +- plugins/stockflow.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/xml b/library/xml index 51f96f9ed..58db67c6b 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit 51f96f9edc52f8916d550f5f833e2959df68bfba +Subproject commit 58db67c6b6c1f0ffba27ada75a7bbbaef3001834 diff --git a/plugins/stockflow.cpp b/plugins/stockflow.cpp index 9533f1f6b..aede089ad 100644 --- a/plugins/stockflow.cpp +++ b/plugins/stockflow.cpp @@ -80,15 +80,15 @@ public: if (found) { // Entice the bookkeeper to spend less time update records. - ui->bookkeeper_precision += ui->bookkeeper_precision >> 3; + ui->nobles.bookkeeper_precision += ui->nobles.bookkeeper_precision >> 3; if (!bookkeeping) { command_method("start_bookkeeping", out); bookkeeping = true; } } else { // Entice the bookkeeper to update records more often. - ui->bookkeeper_precision -= ui->bookkeeper_precision >> 5; - ui->bookkeeper_cooldown -= ui->bookkeeper_cooldown >> 2; + ui->nobles.bookkeeper_precision -= ui->nobles.bookkeeper_precision >> 5; + ui->nobles.bookkeeper_cooldown -= ui->nobles.bookkeeper_cooldown >> 2; if (bookkeeping) { command_method("finish_bookkeeping", out); bookkeeping = false;