function RoomManager.getRoomByWindow(a)local U=RoomManager.getRooms()return TableUtils.find(U,function(U)if U:hasWindow(a)then return true end end)end

function RoomManager.getRoomByWindow(windowPart)
	local rooms = RoomManager.getRooms()

	return TableUtils.find(
		rooms,
		function(room)
			if room:hasWindow(windowPart) then
				return true
			end
		end
	)
end
