Fix map selection

This commit is contained in:
Mitchell McCaffrey 2021-08-12 12:21:11 +10:00
parent 4b6f99a067
commit 1b200d9d04

View File

@ -85,7 +85,7 @@ function MapContols({
const allowNoteEditing = isOwner || mapState?.editFlags.includes("notes");
const disabled: MapToolId[] = [];
if (!map || !allowMapChange) {
if (!allowMapChange) {
disabled.push("map");
}
if (!map) {