From b9e681f7a1afc591f79461003d7ea3caffc1efd2 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 22 Jan 2021 06:59:49 +1100 Subject: [PATCH] Updated network state debounce to 500ms --- src/contexts/PlayerContext.js | 2 +- src/network/NetworkedMapAndTokens.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contexts/PlayerContext.js b/src/contexts/PlayerContext.js index 19f1fe0..190b3d2 100644 --- a/src/contexts/PlayerContext.js +++ b/src/contexts/PlayerContext.js @@ -23,7 +23,7 @@ export function PlayerProvider({ session, children }) { }, session, "player_state", - 100, + 500, false ); diff --git a/src/network/NetworkedMapAndTokens.js b/src/network/NetworkedMapAndTokens.js index a27ee9c..dcd8dbd 100644 --- a/src/network/NetworkedMapAndTokens.js +++ b/src/network/NetworkedMapAndTokens.js @@ -45,7 +45,7 @@ function NetworkedMapAndTokens({ session }) { null, session, "map_state", - 100, + 500, true, "mapId" ); @@ -53,7 +53,7 @@ function NetworkedMapAndTokens({ session }) { null, session, "manifest", - 100, + 500, false );