Update network partial updates to have id to prevent invalid changes

This commit is contained in:
Mitchell McCaffrey
2021-01-04 09:34:25 +11:00
parent e3fe043a7b
commit 524a6d9aea
2 changed files with 46 additions and 12 deletions
+4 -1
View File
@@ -44,7 +44,10 @@ function NetworkedMapAndTokens({ session }) {
const [currentMapState, setCurrentMapState] = useNetworkedState(
null,
session,
"map_state"
"map_state",
100,
true,
"mapId"
);
const [assetManifest, setAssetManifest] = useNetworkedState(
[],