isaacscript-common 1.0.572 → 1.0.573

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.
@@ -47,9 +47,7 @@ function ____exports.closeAllDoors(self)
47
47
  for ____, door in ipairs(
48
48
  ____exports.getDoors(nil)
49
49
  ) do
50
- door.State = DoorState.STATE_CLOSED
51
- local sprite = door:GetSprite()
52
- sprite:Play("Close", true)
50
+ door:Close(true)
53
51
  end
54
52
  end
55
53
  function ____exports.getAngelRoomDoor(self)
@@ -297,9 +297,7 @@ function ____exports.setRoomCleared(self)
297
297
  if isHiddenSecretRoomDoor(nil, door) then
298
298
  goto __continue56
299
299
  end
300
- door.State = DoorState.STATE_OPEN
301
- local sprite = door:GetSprite()
302
- sprite:Play("Opened", true)
300
+ door:Open()
303
301
  door.ExtraVisible = false
304
302
  end
305
303
  ::__continue56::
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.572",
3
+ "version": "1.0.573",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",