Add async diff trigger on tick
This commit is contained in:
@@ -228,6 +228,9 @@ public:
|
||||
// If the clock has advanced far enough, tick the master model.
|
||||
if (clock >= next_tick_) {
|
||||
master_->invoke(Invocation(Invocation::KIND_TICK, 0, 0, ""));
|
||||
for (UniqueClient &client : clients_) {
|
||||
client->async_diff_ = true;
|
||||
}
|
||||
next_tick_ += 1.0;
|
||||
if (next_tick_ < clock + 0.3) next_tick_ = clock + 0.3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user