From 33d6ecaa03a4b4b9a63474cb7f26b5b14e83956c Mon Sep 17 00:00:00 2001 From: NullBite Date: Wed, 28 Jun 2023 01:35:07 -0400 Subject: [PATCH] sharedstate: add debug when syncing full table --- sharedstate.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sharedstate.lua b/sharedstate.lua index fcb45fe..3ea0a9c 100644 --- a/sharedstate.lua +++ b/sharedstate.lua @@ -227,6 +227,8 @@ function sharedstate.commit() -- send_queue[key]=t -- end + logging.debug([[running sharedstate_recv_table + ]], util.traceback()) pings.sharedstate_recv_table(state_queue) sharedstate.clear() end @@ -247,6 +249,8 @@ end --Syncs the full shared state table. This should be used sparsely function sharedstate.sync() if host:isHost() then + logging.debug([[running sharedstate_recv_table + ]], util.traceback()) ping.sharedstate_recv_table(get_table()) end end