Allow setting asset manifest to null

This commit is contained in:
Mitchell McCaffrey 2021-03-26 15:48:55 +11:00
parent ad68aa7226
commit 2330709e62

View File

@ -211,6 +211,7 @@ function NetworkedMapAndTokens({ session }) {
session.socket?.emit("map", newMap);
}
if (!newMap || !newMapState) {
setAssetManifest(null, true, true);
return;
}