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,
|
|
141
|
+
changeRoom(nil, roomGridIndex)
|
|
142
142
|
printConsole(
|
|
143
143
|
nil,
|
|
144
144
|
((("Warped next to room type: " .. roomTypeName) .. " (") .. tostring(roomType)) .. ")"
|
package/package.json
CHANGED
|
@@ -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(
|
|
155
|
+
changeRoom(roomGridIndex);
|
|
156
156
|
printConsole(`Warped next to room type: ${roomTypeName} (${roomType})`);
|
|
157
157
|
return;
|
|
158
158
|
}
|