isaacscript-common 1.0.579 → 1.0.580

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.
@@ -87,7 +87,7 @@ function ____exports.changeRoom(self, roomGridIndex)
87
87
  local level = game:GetLevel()
88
88
  local roomData = ____exports.getRoomData(nil, roomGridIndex)
89
89
  if roomData == nil then
90
- error(("Failed to change the room to to grid index " .. tostring(roomGridIndex)) .. " because that room does not exist.")
90
+ error(("Failed to change the room to grid index " .. tostring(roomGridIndex)) .. " because that room does not exist.")
91
91
  end
92
92
  level.LeaveDoor = -1
93
93
  game:ChangeRoom(roomGridIndex)
@@ -323,7 +323,7 @@ function ____exports.teleport(self, roomGridIndex, direction, roomTransitionAnim
323
323
  local level = game:GetLevel()
324
324
  local roomData = ____exports.getRoomData(nil, roomGridIndex)
325
325
  if roomData == nil then
326
- error(("Failed to change the room to to grid index " .. tostring(roomGridIndex)) .. " because that room does not exist.")
326
+ error(("Failed to change the room to grid index " .. tostring(roomGridIndex)) .. " because that room does not exist.")
327
327
  end
328
328
  level.LeaveDoor = -1
329
329
  game:StartRoomTransition(roomGridIndex, direction, roomTransitionAnim)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.579",
3
+ "version": "1.0.580",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",