isaacscript-common 27.6.2 → 27.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 27.6.2
3
+ isaacscript-common 27.6.3
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -51927,6 +51927,7 @@ function ____exports.setRoomDisplayFlags(self, roomGridIndex, displayFlags, upda
51927
51927
  error("Failed to get the MinimapAPI room descriptor for the room at grid index: " .. tostring(roomGridIndex))
51928
51928
  end
51929
51929
  minimapAPIRoomDescriptor:SetDisplayFlags(displayFlags)
51930
+ minimapAPIRoomDescriptor.Hidden = displayFlags == DisplayFlagZero
51930
51931
  end
51931
51932
  end
51932
51933
  function ____exports.addRoomDisplayFlag(self, roomGridIndex, displayFlag, updateVisibility)
@@ -1 +1 @@
1
- {"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../../src/functions/minimap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;AAM5E;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,WAAW,EAAE,WAAW,EACxB,gBAAgB,UAAO,GACtB,IAAI,CAIN;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,GAAG,GAAG,IAAI,CAE9D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAUtE;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,GAAG,GAClB,QAAQ,CAAC,WAAW,CAAC,CAiBvB;AAED;;;;;;;GAOG;AACH,wBAAg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AI,CAWN;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,EACnC,gBAAgB,UAAO,GACtB,IAAI,CA4BN"}
@@ -83,6 +83,7 @@ function ____exports.setRoomDisplayFlags(self, roomGridIndex, displayFlags, upda
83
83
  error("Failed to get the MinimapAPI room descriptor for the room at grid index: " .. tostring(roomGridIndex))
84
84
  end
85
85
  minimapAPIRoomDescriptor:SetDisplayFlags(displayFlags)
86
+ minimapAPIRoomDescriptor.Hidden = displayFlags == DisplayFlagZero
86
87
  end
87
88
  end
88
89
  --- Helper function to add a `DisplayFlag` to a particular room's minimap display flags (e.g. whether
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "27.6.2",
3
+ "version": "27.6.3",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -185,5 +185,6 @@ export function setRoomDisplayFlags(
185
185
  );
186
186
  }
187
187
  minimapAPIRoomDescriptor.SetDisplayFlags(displayFlags);
188
+ minimapAPIRoomDescriptor.Hidden = displayFlags === DisplayFlagZero;
188
189
  }
189
190
  }