isaacscript-common 7.7.0 → 7.7.1

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.
@@ -138,7 +138,7 @@ function ____exports.warpNextToRoomType(self, roomType)
138
138
  local roomGridIndex = ____value[2]
139
139
  local roomData = getRoomData(nil, roomGridIndex)
140
140
  if roomData ~= nil and roomData.Type == RoomType.DEFAULT then
141
- changeRoom(nil, firstGridIndex)
141
+ changeRoom(nil, roomGridIndex)
142
142
  printConsole(
143
143
  nil,
144
144
  ((("Warped next to room type: " .. roomTypeName) .. " (") .. tostring(roomType)) .. ")"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "7.7.0",
3
+ "version": "7.7.1",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -152,7 +152,7 @@ export function warpNextToRoomType(roomType: RoomType): void {
152
152
  for (const [_doorSlot, roomGridIndex] of adjacentRoomGridIndexes.entries()) {
153
153
  const roomData = getRoomData(roomGridIndex);
154
154
  if (roomData !== undefined && roomData.Type === RoomType.DEFAULT) {
155
- changeRoom(firstGridIndex);
155
+ changeRoom(roomGridIndex);
156
156
  printConsole(`Warped next to room type: ${roomTypeName} (${roomType})`);
157
157
  return;
158
158
  }