Finished code for globals, but something's not working with client/server

This commit is contained in:
2023-04-10 16:00:47 -04:00
parent ef7d0ec365
commit ac383c616f
9 changed files with 230 additions and 55 deletions

View File

@@ -95,6 +95,7 @@ public:
StreamBuffer *sb = channel_->out();
sb->write_uint8(util::MSG_INVOKE);
inv.serialize(sb);
util::dprint("Sent ", inv.debug_string());
}
void send_lua_source(const util::LuaSourceVec &sv) {
@@ -227,6 +228,7 @@ public:
receive_ack_from_server(&body);
} else if (message_type == util::MSG_DIFF) {
receive_diff_from_server(&body);
util::dprintf("Executed diff from server");
} else {
abandon_server();
return false;