Some corrections to lpxclient code

This commit is contained in:
2025-06-27 20:03:38 -04:00
parent 88b02c5458
commit c0307b970b
5 changed files with 17 additions and 8 deletions

View File

@@ -50,6 +50,12 @@ public:
// Reset the print channeler
print_channeler_.reset();
// Do not trigger lua source loading.
rescan_lua_source(false);
// Clear any saved invocations
delayed_invocations_.clear();
}
void set_initial_state_standalone() {
@@ -72,7 +78,10 @@ public:
print_channeler_.reset();
// Trigger lua source loading.
rescan_lua_source();
rescan_lua_source(true);
// Clear any saved invocations
delayed_invocations_.clear();
}
// When the world is in synchronous mode, there's no
@@ -140,7 +149,7 @@ public:
}
virtual void do_cpl_command() override {
rescan_lua_source();
rescan_lua_source(true);
}
virtual void do_work_command() override {