diff --git a/json-export.js b/json-export.js index 70832f5..e07dc68 100644 --- a/json-export.js +++ b/json-export.js @@ -136,7 +136,7 @@ const convertRoom = (roomId, map) => { weight: getExitWeight(specialExit, room.exitWeights, 1), locked: _.find( room.mSpecialExitLocks, - (exitCommand) => specialExit === exitCommand + (destinationRoom) => room.mSpecialExits[specialExit] === destinationRoom ) ? true : undefined,