update structures

develop
Ben Lubar 2021-02-10 18:54:05 -06:00
parent ebbbfc0f8e
commit a051077820
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 51f96f9edc52f8916d550f5f833e2959df68bfba
Subproject commit 58db67c6b6c1f0ffba27ada75a7bbbaef3001834

@ -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;